diff --git a/crypto/dist/openssl/crypto/des/fcrypt.c b/crypto/dist/openssl/crypto/des/fcrypt.c index a3957a113159..91cc5a46677d 100644 --- a/crypto/dist/openssl/crypto/des/fcrypt.c +++ b/crypto/dist/openssl/crypto/des/fcrypt.c @@ -61,7 +61,7 @@ static unsigned const char cov_2char[64]={ void fcrypt_body(DES_LONG *out,des_key_schedule ks, DES_LONG Eswap0, DES_LONG Eswap1); -#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN) +#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN) && !defined(__NetBSD__) char *crypt(const char *buf, const char *salt) { return(des_crypt(buf, salt)); diff --git a/crypto/dist/openssl/util/mkdef.pl b/crypto/dist/openssl/util/mkdef.pl index d7b5e6f18b88..f8a54e73a27e 100755 --- a/crypto/dist/openssl/util/mkdef.pl +++ b/crypto/dist/openssl/util/mkdef.pl @@ -73,7 +73,7 @@ my $NT=0; my $safe_stack_def = 0; my @known_platforms = ( "__FreeBSD__", "VMS", "WIN16", "WIN32", - "WINNT", "PERL5", "NeXT" ); + "WINNT", "PERL5", "NeXT", "__NetBSD__" ); my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF", "CAST", "MD2", "MD4", "MD5", "SHA", "RIPEMD", "MDC2", "RSA", "DSA", "DH", "HMAC", "FP_API" ); @@ -530,7 +530,7 @@ sub do_defs # Prune the returned symbols - $platform{"crypt"} .= ",!PERL5,!__FreeBSD__,!NeXT"; + $platform{"crypt"} .= ",!PERL5,!__FreeBSD__,!NeXT,!__NetBSD__"; delete $syms{"SSL_add_dir_cert_subjects_to_stack"}; delete $syms{"bn_dump1"};