summaryrefslogtreecommitdiffstats
path: root/ssl/d1_enc.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2005-04-26 18:08:00 +0000
committerBodo Möller <bodo@openssl.org>2005-04-26 18:08:00 +0000
commitbeb056b303bd5733a05a85eb8527d40901e79e1a (patch)
tree86d419145b0f0ce0109d5f5e8d0cb6a6efcd9056 /ssl/d1_enc.c
parent4e321ffafff3a1f31bbbfdcf1b17c0ecbde2121f (diff)
fix SSLerr stuff for DTLS1 code;
move some functions from exported header <openssl/dtl1.h> into "ssl_locl.h"; fix silly indentation (a TAB is *not* always 4 spaces)
Diffstat (limited to 'ssl/d1_enc.c')
-rw-r--r--ssl/d1_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_enc.c b/ssl/d1_enc.c
index 7b369644ff..42997eaee9 100644
--- a/ssl/d1_enc.c
+++ b/ssl/d1_enc.c
@@ -217,7 +217,7 @@ int dtls1_enc(SSL *s, int send)
{
if (l == 0 || l%bs != 0)
{
- SSLerr(SSL_F_TLS1_ENC,SSL_R_BLOCK_CIPHER_PAD_IS_WRONG);
+ SSLerr(SSL_F_DTLS1_ENC,SSL_R_BLOCK_CIPHER_PAD_IS_WRONG);
ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_DECRYPTION_FAILED);
return 0;
}