Use ctx2 instead ctx.
authorRichard Könning <Richard.Koenning@ts.fujitsu.com>
Fri, 20 Mar 2020 19:17:50 +0000 (20:17 +0100)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 24 Mar 2020 21:01:46 +0000 (14:01 -0700)
CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/11372)

(cherry picked from commit 402b00d57921a0c8cd641b190d36bf39ea5fb592)

apps/s_server.c

index 2248a432e26814beb6a109323ac0773f8b42137c..243b170d5d46377bf7903c8ce384ac68667093de 100644 (file)
@@ -1904,7 +1904,7 @@ int s_server_main(int argc, char *argv[])
         BIO_printf(bio_s_out, "Setting secondary ctx parameters\n");
 
         if (sdebug)
-            ssl_ctx_security_debug(ctx, sdebug);
+            ssl_ctx_security_debug(ctx2, sdebug);
 
         if (session_id_prefix) {
             if (strlen(session_id_prefix) >= 32)