diff options
Diffstat (limited to 'ftp/bbftp-server/files/patch-bbftpd.c')
-rw-r--r-- | ftp/bbftp-server/files/patch-bbftpd.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/ftp/bbftp-server/files/patch-bbftpd.c b/ftp/bbftp-server/files/patch-bbftpd.c index 5fc376daee1a..661563641c24 100644 --- a/ftp/bbftp-server/files/patch-bbftpd.c +++ b/ftp/bbftp-server/files/patch-bbftpd.c @@ -1,15 +1,10 @@ --- bbftpd.c.orig 2005-05-03 08:43:34 UTC +++ bbftpd.c -@@ -842,10 +842,12 @@ main (argc,argv,envp) - char buffrand[NBITSINKEY] ; - struct timeval tp ; - unsigned int seed ; -+#if OPENSSL_VERSION_NUMBER < 0x10100000L - /* - ** Load the error message from the crypto lib - */ - ERR_load_crypto_strings() ; -+#endif - /* - ** Initialize the buffrand buffer which is giong to be used to initialize the - ** random generator +@@ -104,6 +104,7 @@ + #include <byteswap.h> + #endif + ++#include <openssl/err.h> + #include <openssl/rsa.h> + + #ifdef WITH_GZIP |