Don't build crypt() on NetBSD either.

This commit is contained in:
mycroft 2003-04-02 20:28:00 +00:00
parent 0124191433
commit 6012957147
2 changed files with 3 additions and 3 deletions

View File

@ -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));

View File

@ -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"};