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

Unified Diff: net/socket/socket_test_util.h

Issue 173853014: Make OpenSSL UpdateServerCert() OS independent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test case for retrieving unverified server cert chain. Created 6 years, 10 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
« no previous file with comments | « no previous file | net/socket/socket_test_util.cc » ('j') | net/socket/socket_test_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index e4f655359de33a388c790a75fd416d63e45dff73..4abe8c4b8eeb9bda1696486d3b42ba41b4fdf874 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -701,6 +701,9 @@ class MockClientSocket : public SSLClientSocket {
virtual NextProtoStatus GetNextProto(std::string* proto,
std::string* server_protos) OVERRIDE;
virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE;
+ // Returns the certificate chain as presented by server.
+ virtual const scoped_refptr<X509Certificate> GetUnverifiedServerCertificate()
wtc 2014/03/10 21:45:34 Should this method be public? The base class SSLCl
haavardm 2014/03/11 18:43:21 Done.
+ const OVERRIDE;
protected:
virtual ~MockClientSocket();
« no previous file with comments | « no previous file | net/socket/socket_test_util.cc » ('j') | net/socket/socket_test_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698