mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
Build: Change warning to -Wno-deprecated-declarations
This commit is contained in:
2
trunk/configure
vendored
2
trunk/configure
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user