Don't build crypt() on NetBSD either.
This commit is contained in:
parent
0124191433
commit
6012957147
2
crypto/dist/openssl/crypto/des/fcrypt.c
vendored
2
crypto/dist/openssl/crypto/des/fcrypt.c
vendored
@ -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));
|
||||
|
4
crypto/dist/openssl/util/mkdef.pl
vendored
4
crypto/dist/openssl/util/mkdef.pl
vendored
@ -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"};
|
||||
|
Loading…
Reference in New Issue
Block a user