Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: webrtc/base/fakesslidentity.h

Issue 1898383003: RTCCertificate serialization. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Handle PEM_write_bio_PrivateKey failure Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/fakesslidentity.h
diff --git a/webrtc/base/fakesslidentity.h b/webrtc/base/fakesslidentity.h
index 47ff86d03a827ebdf3a9a72f0bb6bf65ae278609..1960efbd664530e7277977097e68ee444a1ba95f 100644
--- a/webrtc/base/fakesslidentity.h
+++ b/webrtc/base/fakesslidentity.h
@@ -98,6 +98,11 @@ class FakeSSLIdentity : public rtc::SSLIdentity {
return new FakeSSLIdentity(*this);
}
virtual const FakeSSLCertificate& certificate() const { return cert_; }
+ virtual std::string PrivateKeyToPemString() const {
+ // Not implemented.
+ RTC_NOTREACHED();
+ return "";
+ }
private:
FakeSSLCertificate cert_;
};

Powered by Google App Engine
This is Rietveld 408576698