comment
This commit is contained in:
parent
a3d8c0fc5d
commit
965b6dad44
2 changed files with 4 additions and 2 deletions
|
@ -409,7 +409,8 @@ int ssl3_enc(SSL *s, int send)
|
|||
{
|
||||
/* Incorrect padding. SSLerr() and ssl3_alert are done
|
||||
* by caller: we don't want to reveal whether this is
|
||||
* a decryption error or a MAC verification failure. */
|
||||
* a decryption error or a MAC verification failure
|
||||
* (see http://www.openssl.org/~bodo/tls-cbc.txt) */
|
||||
return -1;
|
||||
}
|
||||
rec->length-=i;
|
||||
|
|
|
@ -552,7 +552,8 @@ int tls1_enc(SSL *s, int send)
|
|||
{
|
||||
/* Incorrect padding. SSLerr() and ssl3_alert are done
|
||||
* by caller: we don't want to reveal whether this is
|
||||
* a decryption error or a MAC verification failure. */
|
||||
* a decryption error or a MAC verification failure
|
||||
* (see http://www.openssl.org/~bodo/tls-cbc.txt) */
|
||||
return -1;
|
||||
}
|
||||
for (j=(int)(l-i); j<(int)l; j++)
|
||||
|
|
Loading…
Reference in a new issue