diff options
author | Matt Caswell <matt@openssl.org> | 2014-11-18 15:03:55 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2014-11-27 21:46:04 +0000 |
commit | ac3dc3ee87b14a2e3ebd1e66597f5d8baae91fef (patch) | |
tree | 04adf4e09c88882d774e610bd1ba0683f64eb908 /ssl/ssl_locl.h | |
parent | 63039a177a1142ec6e8f0936f786f7dd42ce5c71 (diff) |
Check EVP_Cipher return values for SSL2
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 81ec01b21767da5e5f0c03ad79b4d3dc9b632393)
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index ed0a1584b3..91c7605b54 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1065,7 +1065,7 @@ int ssl_fill_hello_random(SSL *s, int server, unsigned char *field, int len); int ssl2_enc_init(SSL *s, int client); int ssl2_generate_key_material(SSL *s); -void ssl2_enc(SSL *s,int send_data); +int ssl2_enc(SSL *s,int send_data); void ssl2_mac(SSL *s,unsigned char *mac,int send_data); const SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p); int ssl2_put_cipher_by_char(const SSL_CIPHER *c,unsigned char *p); |