Move SSLIdentity Generate() implementations from .h to .cc file.
This amends https://codereview.webrtc.org/1683193003/ BUG= R=hbos@webrtc.org, tommi@webrtc.org Review URL: https://codereview.webrtc.org/1701953002 . Cr-Commit-Position: refs/heads/master@{#11632}
This commit is contained in:
@ -201,13 +201,9 @@ class SSLIdentity {
|
||||
const KeyParams& key_param,
|
||||
time_t certificate_lifetime);
|
||||
static SSLIdentity* Generate(const std::string& common_name,
|
||||
const KeyParams& key_param) {
|
||||
return Generate(common_name, key_param, kDefaultCertificateLifetime);
|
||||
}
|
||||
const KeyParams& key_param);
|
||||
static SSLIdentity* Generate(const std::string& common_name,
|
||||
KeyType key_type) {
|
||||
return Generate(common_name, KeyParams(key_type));
|
||||
}
|
||||
KeyType key_type);
|
||||
|
||||
// Generates an identity with the specified validity period.
|
||||
// TODO(torbjorng): Now that Generate() accepts relevant params, make tests
|
||||
|
||||
Reference in New Issue
Block a user