diff options
author | Richard Levitte <levitte@openssl.org> | 2000-06-30 01:20:14 +0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-06-30 01:20:14 +0400 |
commit | 3257904c5696725e9abad088e8d8ff56b641340b (patch) | |
tree | 67563658a4916a723c29100ce6a65bf0ec0877a3 /Configure | |
parent | 2a7619d762abf10056d0f6c33f537e111d819e80 (diff) |
It makes much more sense and is much more consistent with the rest of
OpenSSL to have to opt out hardware support instead of having to opt
it in. And since the hardware support modules are self-contained and
actually check that the vendor stuff is loadable, it still works as
expected, or at least, so I think...
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -10,7 +10,7 @@ use strict; # see INSTALL for instructions. -my $usage="Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [hw-xxx] [rsaref] [no-threads] [no-asm] [no-dso] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] os/compiler[:flags]\n"; +my $usage="Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx] [rsaref] [no-threads] [no-asm] [no-dso] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] os/compiler[:flags]\n"; # Options: # @@ -23,11 +23,10 @@ my $usage="Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [- # default). This needn't be set in advance, you can # just as well use "make INSTALL_PREFIX=/whatever install". # -# hw-xxx compile support for specific crypto hardware. Generic -# OpenSSL-style methods relating to this support are -# always compiled but return NULL if the hardware support -# isn't compiled. Currently, hw-cswift is the only support -# of this form. +# no-hw-xxx do not compile support for specific crypto hardware. +# Generic OpenSSL-style methods relating to this support +# are always compiled but return NULL if the hardware +# support isn't compiled. # rsaref use RSAref # [no-]threads [don't] try to create a library that is suitable for # multithreaded applications (default is "threads" if we @@ -475,12 +474,12 @@ foreach (@ARGV) $openssl_algorithm_defines .= "#define NO_MDC2\n"; } } - elsif (/^hw-(.+)$/) + elsif (/^no-hw-(.+)$/) { my $hw=$1; $hw =~ tr/[a-z]/[A-Z]/; - $flags .= "-DHW_$hw "; - $openssl_other_defines .= "#define HW_$hw\n"; + $flags .= "-DNO_HW_$hw "; + $openssl_other_defines .= "#define NO_HW_$hw\n"; } elsif (/^386$/) { $processor=386; } |