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 6bbbd7f73253ec3261b0880511974e6d5f40fbea..6c9e6baba41f178e49db9d0bc950efb7e52d3555 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";