diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-12-09 08:13:09 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-12-09 08:13:09 +0000 |
commit | 389eabca1888387458f4400cda71d9be7b604f27 (patch) | |
tree | 251e9e1e0dc54f033f81230e4b444f9888cf2529 /irc/ratbox-respond/files | |
parent | bd8a2f6074c740b791810e04025bc31bf14056ef (diff) |
Notes
Diffstat (limited to 'irc/ratbox-respond/files')
-rw-r--r-- | irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c b/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c new file mode 100644 index 000000000000..b6e42cfe9d0a --- /dev/null +++ b/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c @@ -0,0 +1,23 @@ +--- ratbox-respond/ratbox-respond.c.orig 2018-10-09 21:09:45 UTC ++++ ratbox-respond/ratbox-respond.c +@@ -27,8 +27,10 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <openssl/evp.h> + #include <openssl/err.h> + #include <openssl/rsa.h> ++#include <openssl/opensslv.h> + #include <openssl/pem.h> + #include <openssl/sha.h> + #include <unistd.h> +@@ -235,7 +237,9 @@ main(int argc, char **argv) + return -1; + } + ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + SSLeay_add_all_ciphers(); ++#endif + rsa = PEM_read_RSAPrivateKey(kfile, NULL,pass_cb, NULL); + + if(!rsa) |