diff --git a/trunk/configure b/trunk/configure index 605fc2db8..48bf155fc 100755 --- a/trunk/configure +++ b/trunk/configure @@ -84,7 +84,7 @@ END # enable gdb debug GDBDebug=" -g -O0" # the warning level. -WarnLevel=" -Wall" +WarnLevel=" -Wall -Wno-deprecated-declarations" # the compile standard. CppStd="-ansi" if [[ $SRS_CXX11 == YES ]]; then diff --git a/trunk/src/app/srs_app_rtc_dtls.cpp b/trunk/src/app/srs_app_rtc_dtls.cpp index 838bcb9ce..80c7cc0ae 100644 --- a/trunk/src/app/srs_app_rtc_dtls.cpp +++ b/trunk/src/app/srs_app_rtc_dtls.cpp @@ -281,7 +281,6 @@ SSL_CTX* SrsDtls::build_dtls_ctx() #endif if (_srs_rtc_dtls_certificate->is_ecdsa()) { // By ECDSA, https://stackoverflow.com/a/6006898 - #if OPENSSL_VERSION_NUMBER >= 0x10002000L // v1.0.2 // For ECDSA, we could set the curves list. // @see https://www.openssl.org/docs/man1.0.2/man3/SSL_CTX_set1_curves_list.html