[gnutls-devel] [PATCH] Fix DSA private key import into PKCS #11

Jan Vcelak jan.vcelak at nic.cz
Thu Feb 25 16:43:35 CET 2016


Hello,

I'm sending another patch for a bug I discovered when doing some PKCS #11
testing.

The DSA algorithm identifier was set only in the private key structure, not
in the nested parameters. This made DSA private key import into a token fail.

This patch fixes the problem. Tested with SoftHSM 2.0.

Cheers,

Jan

Jan Vcelak (1):
  gnutls_x509_privkey_import: add missing algorithm setting for DSA keys

 lib/x509/privkey_pkcs8.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.5.0




More information about the Gnutls-devel mailing list