PKCS #11 id RSA - TLS don't convert length a la ecc

This commit is contained in:
Sean Parkinson 2019-03-01 10:23:45 +10:00
parent efc1ab8c42
commit dc144df32a

View File

@ -17013,7 +17013,7 @@ int DecodePrivateKey(WOLFSSL *ssl, word16* length)
}
/* Return the maximum signature length. */
*length = (word16)wc_ecc_sig_size_calc(ssl->buffers.keySz);
*length = (word16)ssl->buffers.keySz;
}
}
else if (ssl->buffers.keyType == ecc_dsa_sa_algo) {