fix compilation error
authorDr. Stephen Henson <steve@openssl.org>
Tue, 6 Jan 2015 02:17:07 +0000 (02:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 6 Jan 2015 02:17:07 +0000 (02:17 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/d1_srvr.c
ssl/s3_srvr.c

index 8a5c5a1cd2204884685cf81c6c1ad57a4a65f761..059385c310920e8566dce3245788a239837f719a 100644 (file)
@@ -480,7 +480,7 @@ int dtls1_accept(SSL *s)
 
                        /* only send if a DH key exchange or
                         * RSA but we have a sign only certificate */
 
                        /* only send if a DH key exchange or
                         * RSA but we have a sign only certificate */
-                       if (
+                       if (0
                        /* PSK: send ServerKeyExchange if PSK identity
                         * hint if provided */
 #ifndef OPENSSL_NO_PSK
                        /* PSK: send ServerKeyExchange if PSK identity
                         * hint if provided */
 #ifndef OPENSSL_NO_PSK
index e5a32ee90f382dfeb75813ad3fd61def9f801a37..90e95d6bc11fb4908156437673aaec9f4e8c6927 100644 (file)
@@ -471,7 +471,7 @@ int ssl3_accept(SSL *s)
                         * server certificate contains the server's
                         * public key for key exchange.
                         */
                         * server certificate contains the server's
                         * public key for key exchange.
                         */
-                       if (
+                       if (0
                        /* PSK: send ServerKeyExchange if PSK identity
                         * hint if provided */
 #ifndef OPENSSL_NO_PSK
                        /* PSK: send ServerKeyExchange if PSK identity
                         * hint if provided */
 #ifndef OPENSSL_NO_PSK