diff options
author | kyungwook tak <k.tak@samsung.com> | 2015-03-12 11:36:31 +0900 |
---|---|---|
committer | kyungwook tak <k.tak@samsung.com> | 2015-03-12 11:42:31 +0900 |
commit | 057bf157b3a518b7a0fa333c5d4c907df5b9cb4a (patch) | |
tree | b4ee9b579b660890d23f72d4ea098e72f1a484de /ssl/d1_enc.c | |
parent | b87d7a90f2f67d906be0ee4d2ed9c4fa189d39a9 (diff) | |
download | openssl-upstream/1.0.1l.tar.gz openssl-upstream/1.0.1l.tar.bz2 openssl-upstream/1.0.1l.zip |
Imported Upstream version 1.0.1lupstream/1.0.1l
Change-Id: I99680d38528c4117e59bb5377cc54820b22b93a2
Diffstat (limited to 'ssl/d1_enc.c')
-rw-r--r-- | ssl/d1_enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/d1_enc.c b/ssl/d1_enc.c index 712c464..3da2b4c 100644 --- a/ssl/d1_enc.c +++ b/ssl/d1_enc.c @@ -241,7 +241,8 @@ int dtls1_enc(SSL *s, int send) return 0; } - EVP_Cipher(ds,rec->data,rec->input,l); + if(EVP_Cipher(ds,rec->data,rec->input,l) < 1) + return -1; #ifdef KSSL_DEBUG { |