mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
fix stream hmac check on multi data
This commit is contained in:
@@ -3452,7 +3452,7 @@ int DoApplicationData(CYASSL* ssl, byte* input, word32* inOutIdx)
|
||||
}
|
||||
else if (ssl->specs.cipher_type == stream) {
|
||||
ssl->hmac(ssl, verify, rawData, msgSz - digestSz, application_data, 1);
|
||||
if (ConstantCompare(verify, input + msgSz - digestSz, digestSz) != 0) {
|
||||
if (ConstantCompare(verify, rawData + msgSz - digestSz, digestSz) != 0){
|
||||
return VERIFY_MAC_ERROR;
|
||||
}
|
||||
}
|
||||
|
@@ -1,3 +1,11 @@
|
||||
# server DTLSv1 RC4-SHA
|
||||
-u
|
||||
-l RC4-SHA
|
||||
|
||||
# client DTLSv1 RC4-SHA
|
||||
-u
|
||||
-l RC4-SHA
|
||||
|
||||
# server DTLSv1 DES-CBC3-SHA
|
||||
-u
|
||||
-l DES-CBC3-SHA
|
||||
|
Reference in New Issue
Block a user