This commit is contained in:
Bodo Möller 2001-09-24 07:56:45 +00:00
parent a3d8c0fc5d
commit 965b6dad44
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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++)