diff options
Diffstat (limited to 'webrtc/base/openssladapter.h')
-rw-r--r-- | webrtc/base/openssladapter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webrtc/base/openssladapter.h b/webrtc/base/openssladapter.h index 3dcb1c5645..cdf45e603f 100644 --- a/webrtc/base/openssladapter.h +++ b/webrtc/base/openssladapter.h @@ -67,9 +67,9 @@ private: static bool VerifyServerName(SSL* ssl, const char* host, bool ignore_bad_cert); bool SSLPostConnectionCheck(SSL* ssl, const char* host); -#if _DEBUG +#if !defined(NDEBUG) static void SSLInfoCallback(const SSL* s, int where, int ret); -#endif // !_DEBUG +#endif static int SSLVerifyCallback(int ok, X509_STORE_CTX* store); static VerificationCallback custom_verify_callback_; friend class OpenSSLStreamAdapter; // for custom_verify_callback_; |