]> git.pld-linux.org Git - packages/openssl.git/blob - openssl-nocrypt.patch
remove crypt(3) from libcrypto
[packages/openssl.git] / openssl-nocrypt.patch
1 --- openssl-0.9.6b/crypto/des/fcrypt.c.wiget    Tue Nov 20 17:37:32 2001
2 +++ openssl-0.9.6b/crypto/des/fcrypt.c  Tue Nov 20 17:41:40 2001
3 @@ -61,7 +61,7 @@
4  void fcrypt_body(DES_LONG *out,des_key_schedule ks,
5         DES_LONG Eswap0, DES_LONG Eswap1);
6  
7 -#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT)
8 +#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__GLIBC__)
9  char *crypt(const char *buf, const char *salt)
10         {
11         return(des_crypt(buf, salt));
12 --- openssl-0.9.6b/test/Makefile.ssl.wiget      Tue Nov 20 17:52:33 2001
13 +++ openssl-0.9.6b/test/Makefile.ssl    Tue Nov 20 17:53:46 2001
14 @@ -27,7 +27,7 @@
15  
16  DLIBCRYPTO= ../libcrypto.a
17  DLIBSSL= ../libssl.a
18 -LIBCRYPTO= -L.. -lcrypto
19 +LIBCRYPTO= -L.. -lcrypto -lcrypt
20  LIBSSL= -L.. -lssl
21  
22  BNTEST=                bntest
This page took 0.039092 seconds and 4 git commands to generate.