diff options
Diffstat (limited to 'src/lib/libcrypto/util/mkdef.pl')
-rw-r--r-- | src/lib/libcrypto/util/mkdef.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/util/mkdef.pl b/src/lib/libcrypto/util/mkdef.pl index ef1cc6e513..8ecfde1848 100644 --- a/src/lib/libcrypto/util/mkdef.pl +++ b/src/lib/libcrypto/util/mkdef.pl | |||
@@ -100,6 +100,8 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF", | |||
100 | "TLSEXT", | 100 | "TLSEXT", |
101 | # CMS | 101 | # CMS |
102 | "CMS", | 102 | "CMS", |
103 | # CryptoAPI Engine | ||
104 | "CAPIENG", | ||
103 | # Deprecated functions | 105 | # Deprecated functions |
104 | "DEPRECATED" ); | 106 | "DEPRECATED" ); |
105 | 107 | ||
@@ -120,7 +122,7 @@ my $no_rsa; my $no_dsa; my $no_dh; my $no_hmac=0; my $no_aes; my $no_krb5; | |||
120 | my $no_ec; my $no_ecdsa; my $no_ecdh; my $no_engine; my $no_hw; my $no_camellia; | 122 | my $no_ec; my $no_ecdsa; my $no_ecdh; my $no_engine; my $no_hw; my $no_camellia; |
121 | my $no_seed; | 123 | my $no_seed; |
122 | my $no_fp_api; my $no_static_engine; my $no_gmp; my $no_deprecated; | 124 | my $no_fp_api; my $no_static_engine; my $no_gmp; my $no_deprecated; |
123 | my $no_rfc3779; my $no_tlsext; my $no_cms; | 125 | my $no_rfc3779; my $no_tlsext; my $no_cms; my $no_capieng; |
124 | 126 | ||
125 | 127 | ||
126 | foreach (@ARGV, split(/ /, $options)) | 128 | foreach (@ARGV, split(/ /, $options)) |
@@ -206,6 +208,7 @@ foreach (@ARGV, split(/ /, $options)) | |||
206 | elsif (/^no-rfc3779$/) { $no_rfc3779=1; } | 208 | elsif (/^no-rfc3779$/) { $no_rfc3779=1; } |
207 | elsif (/^no-tlsext$/) { $no_tlsext=1; } | 209 | elsif (/^no-tlsext$/) { $no_tlsext=1; } |
208 | elsif (/^no-cms$/) { $no_cms=1; } | 210 | elsif (/^no-cms$/) { $no_cms=1; } |
211 | elsif (/^no-capieng$/) { $no_capieng=1; } | ||
209 | } | 212 | } |
210 | 213 | ||
211 | 214 | ||
@@ -1131,6 +1134,7 @@ sub is_valid | |||
1131 | if ($keyword eq "RFC3779" && $no_rfc3779) { return 0; } | 1134 | if ($keyword eq "RFC3779" && $no_rfc3779) { return 0; } |
1132 | if ($keyword eq "TLSEXT" && $no_tlsext) { return 0; } | 1135 | if ($keyword eq "TLSEXT" && $no_tlsext) { return 0; } |
1133 | if ($keyword eq "CMS" && $no_cms) { return 0; } | 1136 | if ($keyword eq "CMS" && $no_cms) { return 0; } |
1137 | if ($keyword eq "CAPIENG" && $no_capieng) { return 0; } | ||
1134 | if ($keyword eq "DEPRECATED" && $no_deprecated) { return 0; } | 1138 | if ($keyword eq "DEPRECATED" && $no_deprecated) { return 0; } |
1135 | 1139 | ||
1136 | # Nothing recognise as true | 1140 | # Nothing recognise as true |