summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-02-26 16:46:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-02-26 16:46:58 +0000
commit388aff08dc38d6e4c5146d445b62f581bb484ed4 (patch)
tree26c4a7f0ece2c7c47a03cc2ca15800b1f60b5892 /ssl
parent3646578ae7e29230d7b05a5487ad12990b2ae688 (diff)
Fix error codes.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/d1_pkt.c2
-rw-r--r--ssl/s3_pkt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index 02c881ab31..e81be2bc4a 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -453,7 +453,7 @@ printf("\n");
rr->orig_len < mac_size+1))
{
al=SSL_AD_DECODE_ERROR;
- SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_LENGTH_TOO_SHORT);
+ SSLerr(SSL_F_DTLS1_PROCESS_RECORD,SSL_R_LENGTH_TOO_SHORT);
goto f_err;
}
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 032a8558ed..ffd9c19fab 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -410,7 +410,7 @@ fprintf(stderr, "Record type=%d, Length=%d\n", rr->type, rr->length);
if (enc_err == 0)
{
al=SSL_AD_DECRYPTION_FAILED;
- SSLerr(SSL_F_TLS1_ENC,SSL_R_BLOCK_CIPHER_PAD_IS_WRONG);
+ SSLerr(SSL_F_SSL3_GET_RECORD,SSL_R_BLOCK_CIPHER_PAD_IS_WRONG);
goto f_err;
}