bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] openssl: fix implicit decl warning


From: Tim Ruehsen
Subject: Re: [Bug-wget] [PATCH] openssl: fix implicit decl warning
Date: Thu, 30 Oct 2014 15:47:17 +0100
User-agent: KMail/4.14.2 (Linux/3.16-3-amd64; KDE/4.14.2; x86_64; ; )

On Monday 27 October 2014 14:55:14 Mike Frysinger wrote:
> 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"

Pushed, thanks !

Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]