forked from wolfSSL/wolfssl
Merge branch 'cipher-suite' of https://github.com/JacobBarthelmeh/cyassl into cipher-suite
This commit is contained in:
@ -560,12 +560,13 @@ int TLS_hmac(CYASSL* ssl, byte* digest, const byte* in, word32 sz,
|
|||||||
int content, int verify)
|
int content, int verify)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
Hmac hmac;
|
||||||
|
byte myInner[CYASSL_TLS_HMAC_INNER_SZ];
|
||||||
|
|
||||||
if (ssl == NULL)
|
if (ssl == NULL)
|
||||||
return BAD_FUNC_ARG;
|
return BAD_FUNC_ARG;
|
||||||
|
|
||||||
Hmac hmac;
|
|
||||||
byte myInner[CYASSL_TLS_HMAC_INNER_SZ];
|
|
||||||
|
|
||||||
CyaSSL_SetTlsHmacInner(ssl, myInner, sz, content, verify);
|
CyaSSL_SetTlsHmacInner(ssl, myInner, sz, content, verify);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user