| Index: webrtc/base/opensslidentity.h
|
| diff --git a/webrtc/base/opensslidentity.h b/webrtc/base/opensslidentity.h
|
| index ee7aabedd1080ddc01d436e91c6312c06cf1c9a6..72de6c0e7071d1b5bb11a7b0e6aa516ade36c159 100644
|
| --- a/webrtc/base/opensslidentity.h
|
| +++ b/webrtc/base/opensslidentity.h
|
| @@ -32,7 +32,7 @@ class OpenSSLKeyPair {
|
| ASSERT(pkey_ != NULL);
|
| }
|
|
|
| - static OpenSSLKeyPair* Generate();
|
| + static OpenSSLKeyPair* Generate(KeyType key_type);
|
|
|
| virtual ~OpenSSLKeyPair();
|
|
|
| @@ -99,7 +99,8 @@ class OpenSSLCertificate : public SSLCertificate {
|
| // them consistently.
|
| class OpenSSLIdentity : public SSLIdentity {
|
| public:
|
| - static OpenSSLIdentity* Generate(const std::string& common_name);
|
| + static OpenSSLIdentity* Generate(const std::string& common_name,
|
| + KeyType key_type);
|
| static OpenSSLIdentity* GenerateForTest(const SSLIdentityParams& params);
|
| static SSLIdentity* FromPEMStrings(const std::string& private_key,
|
| const std::string& certificate);
|
|
|