unneccessary error message within wpa_supplicant/openssl

Jouni Malinen j
Tue Feb 22 12:24:44 PST 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:

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list