summaryrefslogtreecommitdiffstats
path: root/ssl/s3_srvr.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-10-17 17:54:17 +0000
committerRichard Levitte <levitte@openssl.org>2001-10-17 17:54:17 +0000
commitdb6a87d8cccfbb2802c4116655a3221756405fd8 (patch)
tree38f9053556084ca6488a4cb05499bc432b23dc5b /ssl/s3_srvr.c
parent7beb4087713812609b8859b8a2bd6391c9f5f19b (diff)
Wrong place...
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r--ssl/s3_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index 0ac44d7ee6..d838bb9125 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -1618,7 +1618,7 @@ static int ssl3_get_client_key_exchange(SSL *s)
memset(iv, 0, EVP_MAX_IV_LENGTH); /* per RFC 1510 */
- if (!EVP_DecryptInit_ex(&ciph_ctx,enc,kssl_ctx->key,iv,NULL))
+ if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
{
SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,
SSL_R_DECRYPTION_FAILED);