Add missing BoringSSL ifdef to OpenSSLStreamAdapter
Compiling without BoringSSL fails since g_use_time_callback_for_testing is defined inside a OPENSSL_IS_BORINGSSL block. Bug: webrtc:10160 Change-Id: I25c27fa8ed128a50aa855db2012026c97954b91b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134226 Reviewed-by: Benjamin Wright <benwright@webrtc.org> Reviewed-by: Qingsi Wang <qingsi@webrtc.org> Commit-Queue: Benjamin Wright <benwright@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27779}
This commit is contained in:
committed by
Commit Bot
parent
e9145d65c1
commit
637bed5f8d
@ -1177,7 +1177,9 @@ bool OpenSSLStreamAdapter::IsAcceptableCipher(const std::string& cipher,
|
||||
}
|
||||
|
||||
void OpenSSLStreamAdapter::EnableTimeCallbackForTesting() {
|
||||
#ifdef OPENSSL_IS_BORINGSSL
|
||||
g_use_time_callback_for_testing = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
Reference in New Issue
Block a user