[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [PATCH] openssl: fix implicit decl warning
From: |
Mike Frysinger |
Subject: |
[Bug-wget] [PATCH] openssl: fix implicit decl warning |
Date: |
Mon, 27 Oct 2014 14:55:14 -0400 |
Include the right header to fix:
openssl.c: In function 'ssl_init':
openssl.c:195:3: warning: implicit declaration of function
'ENGINE_load_builtin_engines' [-Wimplicit-function-declaration]
ENGINE_load_builtin_engines();
^
---
src/openssl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/openssl.c b/src/openssl.c
index e24954a..2a3e0d6 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -42,6 +42,7 @@ as that of the covered work. */
#include <openssl/rand.h>
#if OPENSSL_VERSION_NUMBER >= 0x00907000
#include <openssl/conf.h>
+#include <openssl/engine.h>
#endif
#include "utils.h"
--
2.1.2
- [Bug-wget] [PATCH] openssl: fix implicit decl warning,
Mike Frysinger <=