1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef RTC_BASE_OPENSSL_UTILITY_H_
- #define RTC_BASE_OPENSSL_UTILITY_H_
- #include <openssl/ossl_typ.h>
- #include <string>
- namespace rtc {
- namespace openssl {
- bool VerifyPeerCertMatchesHost(SSL* ssl, const std::string& host);
- void LogSSLErrors(const std::string& prefix);
- #ifndef WEBRTC_EXCLUDE_BUILT_IN_SSL_ROOT_CERTS
- bool LoadBuiltinSSLRootCertificates(SSL_CTX* ssl_ctx);
- #endif
- }
- }
- #endif
|