[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #107424] gnutls cannot handle openssl-1.0.o.a certs
From: |
Nikos Mavrogiannopoulos |
Subject: |
[sr #107424] gnutls cannot handle openssl-1.0.o.a certs |
Date: |
Sat, 24 Jul 2010 14:07:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.462.0 Safari/534.3 |
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/