Add missing RTC_EXPORT for the component build. Bug: webrtc:9419 Change-Id: I3225259fb4cc55e9820f590928795f4587f1e3cb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153884 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29479}
diff --git a/rtc_base/ssl_certificate.h b/rtc_base/ssl_certificate.h index fad1404..3b3f24f 100644 --- a/rtc_base/ssl_certificate.h +++ b/rtc_base/ssl_certificate.h
@@ -23,10 +23,11 @@ #include "rtc_base/buffer.h" #include "rtc_base/constructor_magic.h" +#include "rtc_base/system/rtc_export.h" namespace rtc { -struct SSLCertificateStats { +struct RTC_EXPORT SSLCertificateStats { SSLCertificateStats(std::string&& fingerprint, std::string&& fingerprint_algorithm, std::string&& base64_certificate, @@ -46,7 +47,7 @@ // The SSLCertificate object is pretty much immutable once created. // (The OpenSSL implementation only does reference counting and // possibly caching of intermediate results.) -class SSLCertificate { +class RTC_EXPORT SSLCertificate { public: // Parses and builds a certificate from a PEM encoded string. // Returns null on failure. @@ -90,7 +91,7 @@ // SSLCertChain is a simple wrapper for a vector of SSLCertificates. It serves // primarily to ensure proper memory management (especially deletion) of the // SSLCertificate pointers. -class SSLCertChain final { +class RTC_EXPORT SSLCertChain final { public: explicit SSLCertChain(std::unique_ptr<SSLCertificate> single_cert); explicit SSLCertChain(std::vector<std::unique_ptr<SSLCertificate>> certs);