packages/libs/uw-imap/patches/020-deprecated-openssl.patch
Rosen Penev 2bdea124ee uw-imap: Fix compilation without deprecated APIs for OpenSSL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-06 19:13:52 -08:00

12 lines
295 B
Diff

diff --git a/src/osdep/unix/ssl_unix.c b/src/osdep/unix/ssl_unix.c
index 3bfdff3..3ed1cb5 100644
--- a/src/osdep/unix/ssl_unix.c
+++ b/src/osdep/unix/ssl_unix.c
@@ -35,6 +35,7 @@
#include <bio.h>
#include <crypto.h>
#include <rand.h>
+#include <rsa.h>
#undef crypt
#define SSLBUFLEN 8192