Chromium Code Reviews| Index: webrtc/base/opensslidentity.h |
| diff --git a/webrtc/base/opensslidentity.h b/webrtc/base/opensslidentity.h |
| index d8ba138f625484fddca35a38ff3f449eeea86832..93fbed1c57cdbf0f545d5b41ee185e373e69c685 100644 |
| --- a/webrtc/base/opensslidentity.h |
| +++ b/webrtc/base/opensslidentity.h |
| @@ -32,6 +32,7 @@ class OpenSSLKeyPair { |
| ASSERT(pkey_ != NULL); |
| } |
| + static OpenSSLKeyPair* Generate(const KeyParams& key_params); |
| static OpenSSLKeyPair* Generate(KeyType key_type); |
|
juberti
2015/10/07 06:35:22
Is this old form still needed?
torbjorng (webrtc)
2015/10/07 13:30:03
Indeed no longer needed.
|
| virtual ~OpenSSLKeyPair(); |
| @@ -100,7 +101,7 @@ class OpenSSLCertificate : public SSLCertificate { |
| class OpenSSLIdentity : public SSLIdentity { |
| public: |
| static OpenSSLIdentity* Generate(const std::string& common_name, |
| - KeyType key_type); |
| + const KeyParams& key_params); |
| static OpenSSLIdentity* GenerateForTest(const SSLIdentityParams& params); |
| static SSLIdentity* FromPEMStrings(const std::string& private_key, |
| const std::string& certificate); |