aboutsummaryrefslogtreecommitdiff
path: root/net/freerdp1/files/patch-winpr_tools_makecert_makecert.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/freerdp1/files/patch-winpr_tools_makecert_makecert.c')
-rw-r--r--net/freerdp1/files/patch-winpr_tools_makecert_makecert.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/freerdp1/files/patch-winpr_tools_makecert_makecert.c b/net/freerdp1/files/patch-winpr_tools_makecert_makecert.c
new file mode 100644
index 000000000000..e479fa8ef071
--- /dev/null
+++ b/net/freerdp1/files/patch-winpr_tools_makecert_makecert.c
@@ -0,0 +1,18 @@
+--- winpr/tools/makecert/makecert.c.orig 2018-11-06 05:00:05 UTC
++++ winpr/tools/makecert/makecert.c
+@@ -27,6 +27,7 @@
+ #include <winpr/cmdline.h>
+ #include <winpr/sysinfo.h>
+
++#include <openssl/crypto.h>
+ #include <openssl/conf.h>
+ #include <openssl/pem.h>
+ #include <openssl/err.h>
+@@ -757,7 +758,6 @@ void makecert_context_free(MAKECERT_CONTEXT* context)
+
+ CRYPTO_cleanup_all_ex_data();
+
+- CRYPTO_mem_leaks(context->bio);
+ BIO_free(context->bio);
+
+ free(context);