Package: src:wpa
Version: 2:2.7+git20190128+0c1e29f-2
Severity: important
Tags: patch upstream

---------- Forwarded message ---------
From: David Woodhouse <dw...@infradead.org>
Date: Thu, 14 Mar 2019 at 01:48
Subject: Re: [PATCH] Fix compile with OpenSSL 1.1.0 and deprecated APIs
To: Rosen Penev <ros...@gmail.com>
Cc: <hos...@lists.infradead.org>


On Wed, 2019-03-13 at 17:40 -0700, Rosen Penev wrote:
> OPENSSL_init is implicit with OpenSSL 1.1. There's no need to call it
> unless some non-default setting is needed (not loading error strings
> for example).

My empirical observation is that with OpenSSL 1.1.0g, engines aren't
working unless I remove the #ifdef and let ENGINE_load_dynamic() get
called. How did you test this, and with which version(s) of OpenSSL?

With the #ifdef:

ENGINE: Loading dynamic engine
ENGINE: Loading OpenSC Engine from
/home/dwmw/git/openssl_tpm2_engine/.libs/libtpm2.so
ENGINE: Can't find engine dynamic [error:2606A074:engine
routines:ENGINE_by_id:no such engine]
SSL: Failed to initialize TLS context.

Reverting it:

ENGINE: Loading dynamic engine
ENGINE: Loading OpenSC Engine from
/home/dwmw/git/openssl_tpm2_engine/.libs/libtpm2.so
ENGINE: engine 'tpm2' is already available
ENGINE: Loading dynamic engine
ENGINE: Loading OpenSC Engine from
/home/dwmw/git/openssl_tpm2_engine/.libs/libtpm2.so
ENGINE: engine 'tpm2' is already available
_______________________________________________
Hostap mailing list
hos...@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/hostap


--
Cheers,
  Andrej

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to