diff options
author | djm <> | 2011-11-03 02:32:23 +0000 |
---|---|---|
committer | djm <> | 2011-11-03 02:32:23 +0000 |
commit | fa3384eda96e42a23f6d3208998246abda2535c1 (patch) | |
tree | d7ee8f9bcd8062ffa41dd1e250e04de24159ee80 /src/lib/libssl/d1_enc.c | |
parent | 154527e9cde3004ed29ea1316880670ec73dcafa (diff) | |
parent | 113f799ec7d1728f0a5d7ab5b0e3b42e3de56407 (diff) | |
download | openbsd-fa3384eda96e42a23f6d3208998246abda2535c1.tar.gz openbsd-fa3384eda96e42a23f6d3208998246abda2535c1.tar.bz2 openbsd-fa3384eda96e42a23f6d3208998246abda2535c1.zip |
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
Diffstat (limited to 'src/lib/libssl/d1_enc.c')
-rw-r--r-- | src/lib/libssl/d1_enc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/d1_enc.c b/src/lib/libssl/d1_enc.c index 8fa57347a9..becbab91c2 100644 --- a/src/lib/libssl/d1_enc.c +++ b/src/lib/libssl/d1_enc.c | |||
@@ -231,11 +231,7 @@ int dtls1_enc(SSL *s, int send) | |||
231 | if (!send) | 231 | if (!send) |
232 | { | 232 | { |
233 | if (l == 0 || l%bs != 0) | 233 | if (l == 0 || l%bs != 0) |
234 | { | 234 | return -1; |
235 | SSLerr(SSL_F_DTLS1_ENC,SSL_R_BLOCK_CIPHER_PAD_IS_WRONG); | ||
236 | ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_DECRYPTION_FAILED); | ||
237 | return 0; | ||
238 | } | ||
239 | } | 235 | } |
240 | 236 | ||
241 | EVP_Cipher(ds,rec->data,rec->input,l); | 237 | EVP_Cipher(ds,rec->data,rec->input,l); |