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

Unified Diff: webrtc/base/sslstreamadapter.h

Issue 1189583002: Support generation of EC keys using P256 curve and support ECDSA certs. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: generalize ssl testing code, misc fixes Created 5 years, 6 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/sslstreamadapter.h
diff --git a/webrtc/base/sslstreamadapter.h b/webrtc/base/sslstreamadapter.h
index dcb802972c715c7c6e3d804e82eb8247cdb2bc24..65fe2701a2fb79b9885126f06529f2125fa3283b 100644
--- a/webrtc/base/sslstreamadapter.h
+++ b/webrtc/base/sslstreamadapter.h
@@ -167,7 +167,8 @@ class SSLStreamAdapter : public StreamAdapterInterface {
// Returns the default Ssl cipher used between streams of this class
// for the given protocol version. This is used by the unit tests.
- static std::string GetDefaultSslCipher(SSLProtocolVersion version);
+ static std::string GetDefaultSslCipher(SSLProtocolVersion version,
+ KeyType key_type = KT_DEFAULT);
juberti1 2015/07/03 03:15:19 Default parameters are frowned upon; please add a
torbjorng (webrtc) 2015/07/06 10:11:55 Done. Incidentally, the ssl unit tests use defaul
private:
// If true, the server certificate need not match the configured

Powered by Google App Engine
This is Rietveld 408576698