oops, fix compilation errors in s_server
[openssl.git] / apps / s_server.c
index 00dc219eb7694bf58a0613800f5f4f0f12ac0dc1..93f183b6f84161f7c2aaf8835fd5d7c369c13c21 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;