summaryrefslogtreecommitdiff
path: root/util/mkdef.pl
diff options
context:
space:
mode:
authorsteve <steve>2006-04-17 12:08:17 +0000
committersteve <steve>2006-04-17 12:08:17 +0000
commit481afb136a3cd83df3bfd6e99141273da73966f0 (patch)
tree99c420b3e2030bd3810e1c40ecdace5732609549 /util/mkdef.pl
parentb0ad14acf99562e841620a863f189345d7d472bf (diff)
downloadopenssl-481afb136a3cd83df3bfd6e99141273da73966f0.tar.gz
Fix (most) WIN32 warnings and errors.
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-xutil/mkdef.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl
index e3cb0169b..1e337ce86 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -95,6 +95,8 @@ my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
"FP_API", "STDIO", "SOCK", "KRB5", "DGRAM",
# Engines
"STATIC_ENGINE", "ENGINE", "HW", "GMP",
+ # TLS
+ "TLSEXT", "PSK",
# Deprecated functions
"DEPRECATED" );
@@ -114,6 +116,7 @@ my $no_md2; my $no_md4; my $no_md5; my $no_sha; my $no_ripemd; my $no_mdc2;
my $no_rsa; my $no_dsa; my $no_dh; my $no_hmac=0; my $no_aes; my $no_krb5;
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_psk; my $no_tlsext;
foreach (@ARGV, split(/ /, $options))
@@ -225,6 +228,7 @@ $max_crypto = $max_num;
my $ssl="ssl/ssl.h";
$ssl.=" ssl/kssl.h";
+$ssl.=" ssl/tls1.h";
my $crypto ="crypto/crypto.h";
$crypto.=" crypto/o_dir.h";
@@ -1107,6 +1111,8 @@ sub is_valid
if ($keyword eq "FP_API" && $no_fp_api) { return 0; }
if ($keyword eq "STATIC_ENGINE" && $no_static_engine) { return 0; }
if ($keyword eq "GMP" && $no_gmp) { return 0; }
+ if ($keyword eq "TLSEXT" && $no_tlsext) { return 0; }
+ if ($keyword eq "PSK" && $no_psk) { return 0; }
if ($keyword eq "DEPRECATED" && $no_deprecated) { return 0; }
# Nothing recognise as true