Merge branch 'cipher-suite' of https://github.com/JacobBarthelmeh/cyassl into cipher-suite

This commit is contained in:
JacobBarthelmeh
2014-07-09 15:49:29 -06:00

View File

@ -560,12 +560,13 @@ int TLS_hmac(CYASSL* ssl, byte* digest, const byte* in, word32 sz,
int content, int verify)
{
int ret;
Hmac hmac;
byte myInner[CYASSL_TLS_HMAC_INNER_SZ];
if (ssl == NULL)
return BAD_FUNC_ARG;
Hmac hmac;
byte myInner[CYASSL_TLS_HMAC_INNER_SZ];
CyaSSL_SetTlsHmacInner(ssl, myInner, sz, content, verify);