unneccessary error message within wpa_supplicant/openssl

Jouni Malinen j at w1.fi
Tue Feb 22 15:24:44 EST 2011


On Mon, Jan 24, 2011 at 01:21:02PM +0100, Dennis Borgmann wrote:

> OpenSSL: tls_connection_client_cert - SSL_use_certificate_file (DER)
> failed error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
> OpenSSL: pending error: error:0D07803A:asn1 encoding
> routines:ASN1_ITEM_EX_D2I:nested asn1 error

...

> OpenSSL: SSL_use_certificate_file (PEM) --> OK

> Anway, everything works quite ok afterwards (as it states, "SSL: Private
> key loaded successfully"). Shouldn't this errormessage disappear rather?

Yes, those OpenSSL messages could be suppressed when the parsing
eventually succeeds. This should be covered in this commit:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=effab86ff2f6b092eff2af3e1e37f46491b66e15

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list