Merge pull request #2128 from SparkiDev/pkcs11_ecc_server_fix

PKCS #11 id RSA - TLS don't convert length a la ecc
This commit is contained in:
David Garske
2019-02-28 19:05:33 -08:00
committed by GitHub

View File

@@ -17031,7 +17031,7 @@ int DecodePrivateKey(WOLFSSL *ssl, word16* length)
} }
/* Return the maximum signature length. */ /* Return the maximum signature length. */
*length = (word16)wc_ecc_sig_size_calc(ssl->buffers.keySz); *length = (word16)ssl->buffers.keySz;
} }
#else #else
ret = NOT_COMPILED_IN; ret = NOT_COMPILED_IN;