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:
Philipp Hancke 2024-09-12 14:56:25 -07:00 committed by WebRTC LUCI CQ
parent 825e4f19ce
commit 17ffd365a2
2 changed files with 0 additions and 9 deletions

View File

@ -162,10 +162,6 @@ ECCurve KeyParams::ec_curve() const {
return params_.curve; return params_.curve;
} }
KeyType IntKeyTypeFamilyToKeyType(int key_type_family) {
return static_cast<KeyType>(key_type_family);
}
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// SSLIdentity // SSLIdentity
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

View File

@ -82,11 +82,6 @@ class RTC_EXPORT KeyParams {
} params_; } 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 // 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 // will be used for the certificate's subject and issuer name, otherwise a
// random string will be used. // random string will be used.