commit | 030261c4ffc818baa167113bb462281d0e82f83f | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@HansenPartnership.com> | Fri May 29 18:41:01 2020 -0700 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Fri May 29 18:41:01 2020 -0700 |
tree | 9486dec559e9159a254878dc12f8bcfc4d4e1ed5 | |
parent | 85edaa409a2e64d20a705240b5167ef0ca74ff4e [diff] |
crypto-ec: fix output for EC signature The size of the signature isn't getting set correctly. Apparently this doesn't matter for gnutls, but it does for the openssl pkcs11 engine, which otherwise gets the wrong size and thus the wrong format for the signature. Fix by always setting sig_len regardless of whether we're signing or not. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>