[sr #107424] gnutls cannot handle openssl-1.0.o.a certs
Nikos Mavrogiannopoulos
INVALID.NOREPLY at gnu.org
Sat Jul 24 16:07:19 CEST 2010
Follow-up Comment #5, sr #107424 (project gnutls):
So I suppose in your code you do:
ret = gnutls_x509_privkey_import (tmpkey, raw_key, type);
to import the key. I suggest to add
/* If normal key decoding doesn't work try decoding a PKCS #8 key */
if (ret < 0)
ret = gnutls_x509_privkey_import_pkcs8 (tmpkey, raw_key, type,
NULL, GNUTLS_PKCS_PLAIN);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107424>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the Gnutls-devel
mailing list