Fix compile failure
authorMatt Caswell <matt@openssl.org>
Fri, 11 Dec 2015 22:18:00 +0000 (22:18 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 11 Dec 2015 22:18:00 +0000 (22:18 +0000)
Fix compile failure introduced by commit 94d61512360c due to a typo.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/s3_lib.c

index ee00741..c08065f 100644 (file)
@@ -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:
         {
 #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
         }
         break;
 #endif