mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
*** empty log message ***
This commit is contained in:
parent
19d300d07c
commit
ecd3370ba0
@ -1532,6 +1532,9 @@ static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen,
|
||||
* integrity checks on ticket.
|
||||
*/
|
||||
mlen = HMAC_size(&hctx);
|
||||
if (mlen <= 0)
|
||||
return -1;
|
||||
|
||||
eticklen -= mlen;
|
||||
/* Check HMAC of encrypted ticket */
|
||||
HMAC_Update(&hctx, etick, eticklen);
|
||||
|
Loading…
Reference in New Issue
Block a user