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_identity.h b/rtc_base/ssl_identity.h
index c013a89..30e456b 100644
--- a/rtc_base/ssl_identity.h
+++ b/rtc_base/ssl_identity.h
@@ -17,6 +17,8 @@
#include <ctime>
#include <string>
+#include "rtc_base/system/rtc_export.h"
+
namespace rtc {
class SSLCertChain;
@@ -46,7 +48,7 @@
enum ECCurve { EC_NIST_P256, /* EC_FANCY, */ EC_LAST };
-class KeyParams {
+class RTC_EXPORT KeyParams {
public:
// Generate a KeyParams object from a simple KeyType, using default params.
explicit KeyParams(KeyType key_type = KT_DEFAULT);
@@ -95,7 +97,7 @@
// Our identity in an SSL negotiation: a keypair and certificate (both
// with the same public key).
// This too is pretty much immutable once created.
-class SSLIdentity {
+class RTC_EXPORT SSLIdentity {
public:
// Generates an identity (keypair and self-signed certificate). If
// |common_name| is non-empty, it will be used for the certificate's subject