summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-09-24 07:57:20 +0000
committerBodo Möller <bodo@openssl.org>2001-09-24 07:57:20 +0000
commitae9010abd5b8af9342a1128fe3889fc7e76bd269 (patch)
tree905ce18732f222b900b35c5c07accf691539bc02 /ssl
parentae3a6640b795d307e7f34ea168bebebff512e2e6 (diff)
comment
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_enc.c3
-rw-r--r--ssl/t1_enc.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c
index f3a9c51404..af7075e920 100644
--- a/ssl/s3_enc.c
+++ b/ssl/s3_enc.c
@@ -397,7 +397,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;
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index 062c56d7d1..ff4f0c8ca9 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -478,7 +478,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++)