oops, fix compilation errors in s_server
authorDr. Stephen Henson <steve@openssl.org>
Thu, 11 Oct 2012 18:03:42 +0000 (18:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 11 Oct 2012 18:03:42 +0000 (18:03 +0000)
apps/s_server.c

index 00dc219..93f183b 100644 (file)
@@ -951,6 +951,9 @@ static char *jpake_secret = NULL;
        static srpsrvparm srp_callback_parm;
 #endif
 static char *srtp_profiles = NULL;
+static unsigned char *checkhost = NULL, *checkemail = NULL;
+static char *checkip = NULL;
+
 
 int MAIN(int argc, char *argv[])
        {
@@ -1004,9 +1007,6 @@ int MAIN(int argc, char *argv[])
 #endif
        SSL_EXCERT *exc = NULL;
 
-       unsigned char *checkhost = NULL, *checkemail = NULL;
-       char *checkip = NULL;
-
        meth=SSLv23_server_method();
 
        local_argc=argc;