diff options
author | Ben Laurie <ben@openssl.org> | 2011-03-12 17:01:19 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2011-03-12 17:01:19 +0000 |
commit | edc032b5e3f3ebb1006a9c89e0ae00504f47966f (patch) | |
tree | 34145e288daa107b0f9fcb951abd786804624081 /util/mkdef.pl | |
parent | 0c4e67102eb8a05ab1f6673b670a09ce89aeb568 (diff) | |
download | openssl-edc032b5e3f3ebb1006a9c89e0ae00504f47966f.tar.gz |
Add SRP support.
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-x | util/mkdef.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl index 3ccd542f69..9bf01ffb53 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -98,7 +98,7 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF", # RFC3779 "RFC3779", # TLS - "TLSEXT", "PSK", + "TLSEXT", "PSK", "SRP", # CMS "CMS", # CryptoAPI Engine @@ -130,6 +130,7 @@ my $no_ec; my $no_ecdsa; my $no_ecdh; my $no_engine; my $no_hw; my $no_fp_api; my $no_static_engine=1; my $no_gmp; my $no_deprecated; my $no_rfc3779; my $no_psk; my $no_tlsext; my $no_cms; my $no_capieng; my $no_jpake; my $no_ssl2; my $no_ec2m; my $no_nextprotoneg; +my $no_srp; my $fips; @@ -225,6 +226,7 @@ foreach (@ARGV, split(/ /, $options)) elsif (/^no-ssl2$/) { $no_ssl2=1; } elsif (/^no-capieng$/) { $no_capieng=1; } elsif (/^no-jpake$/) { $no_jpake=1; } + elsif (/^no-srp$/) { $no_srp=1; } } @@ -323,6 +325,7 @@ $crypto.=" crypto/krb5/krb5_asn.h"; $crypto.=" crypto/pqueue/pqueue.h"; $crypto.=" crypto/cms/cms.h"; $crypto.=" crypto/jpake/jpake.h"; +$crypto.=" crypto/srp/srp.h"; $crypto.=" crypto/modes/modes.h"; $crypto.=" fips/fips.h fips/rand/fips_rand.h"; @@ -1180,6 +1183,7 @@ sub is_valid if ($keyword eq "SSL2" && $no_ssl2) { return 0; } if ($keyword eq "CAPIENG" && $no_capieng) { return 0; } if ($keyword eq "JPAKE" && $no_jpake) { return 0; } + if ($keyword eq "SRP" && $no_srp) { return 0; } if ($keyword eq "DEPRECATED" && $no_deprecated) { return 0; } # Nothing recognise as true |