Stop warning if dtls disabled.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 5 Jun 2009 14:56:48 +0000 (14:56 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 5 Jun 2009 14:56:48 +0000 (14:56 +0000)
apps/s_server.c

index 6bbbd7f..6c9e6ba 100644 (file)
@@ -298,7 +298,9 @@ static const char *session_id_prefix=NULL;
 
 static int enable_timeouts = 0;
 static long socket_mtu;
+#ifndef OPENSSL_NO_DTLS1
 static int cert_chain = 0;
+#endif
 
 #ifndef OPENSSL_NO_PSK
 static char *psk_identity="Client_identity";