Fix the build with OpenSSL.
CL https://webrtc-review.googlesource.com/c/src/+/66941/ removed a list of typedef which is not needed for BoringSSL but it is crucial for OpenSSL to compile. This CL add back on of those. Bug: webrtc:9330 Change-Id: I32557bd437f71024af42d555382727de387e8d5f Reviewed-on: https://webrtc-review.googlesource.com/79741 Reviewed-by: Benjamin Wright <benwright@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23444}
This commit is contained in:
@ -18,6 +18,10 @@
|
|||||||
#include "rtc_base/constructormagic.h"
|
#include "rtc_base/constructormagic.h"
|
||||||
#include "rtc_base/sslstreamadapter.h"
|
#include "rtc_base/sslstreamadapter.h"
|
||||||
|
|
||||||
|
#ifndef OPENSSL_IS_BORINGSSL
|
||||||
|
typedef struct ssl_session_st SSL_SESSION;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace rtc {
|
namespace rtc {
|
||||||
|
|
||||||
// The OpenSSLSessionCache maps hostnames to SSL_SESSIONS. This cache is
|
// The OpenSSLSessionCache maps hostnames to SSL_SESSIONS. This cache is
|
||||||
|
Reference in New Issue
Block a user