Remove IntKeyTypeFamilyToKeyType
which is no longer used. Also the blink::WebRTCKeyType it refers to no longer exists either BUG=None Change-Id: I8236ed906b5712d11173dfcf181f556b1ff597f8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362387 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Philipp Hancke <phancke@meta.com> Cr-Commit-Position: refs/heads/main@{#43038}
This commit is contained in:
parent
825e4f19ce
commit
17ffd365a2
@ -162,10 +162,6 @@ ECCurve KeyParams::ec_curve() const {
|
||||
return params_.curve;
|
||||
}
|
||||
|
||||
KeyType IntKeyTypeFamilyToKeyType(int key_type_family) {
|
||||
return static_cast<KeyType>(key_type_family);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// SSLIdentity
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
@ -82,11 +82,6 @@ class RTC_EXPORT KeyParams {
|
||||
} params_;
|
||||
};
|
||||
|
||||
// TODO(hbos): Remove once rtc::KeyType (to be modified) and
|
||||
// blink::WebRTCKeyType (to be landed) match. By using this function in Chromium
|
||||
// appropriately we can change KeyType enum -> class without breaking Chromium.
|
||||
KeyType IntKeyTypeFamilyToKeyType(int key_type_family);
|
||||
|
||||
// Parameters for generating a certificate. If `common_name` is non-empty, it
|
||||
// will be used for the certificate's subject and issuer name, otherwise a
|
||||
// random string will be used.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user