ports/ftp/bbftp-server/files/patch-bbftpd.c
Alexey Dokuchaev b37a13c322 - Use a better way to deal with deprecated ERR_load_crypto_strings()
function by #includ'ing <openssl/err.h> header which already takes
  the proper care of it
- Move away from using another deprecated RSA_generate_key() function
- Apply the same hack as for the client port so it dynamically links
  against libcrypto.so, rather than statically against libcrypto.a
2021-02-01 02:30:39 +00:00

10 lines
180 B
C

--- bbftpd.c.orig 2005-05-03 08:43:34 UTC
+++ bbftpd.c
@@ -104,6 +104,7 @@
#include <byteswap.h>
#endif
+#include <openssl/err.h>
#include <openssl/rsa.h>
#ifdef WITH_GZIP