From: Matt Caswell Date: Fri, 11 Dec 2015 22:18:00 +0000 (+0000) Subject: Fix compile failure X-Git-Tag: OpenSSL_1_1_0-pre2~255 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=8ca8fc480469e60d73997f5db5a6d07744fe031e;ds=inline Fix compile failure Fix compile failure introduced by commit 94d61512360c due to a typo. Reviewed-by: Richard Levitte --- diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index ee00741767..c08065f035 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -4466,7 +4466,7 @@ long ssl3_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp) (void)) #ifndef OPENSSL_NO_DH case SSL_CTRL_SET_TMP_DH_CB: { - cxt->cert->dh_tmp_cb = (DH *(*)(SSL *, int, int))fp; + ctx->cert->dh_tmp_cb = (DH *(*)(SSL *, int, int))fp; } break; #endif