mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
Remove todos in decode_der2key.c and decode_ms2key.c
Those TODOs do not really apply to 3.0 as the legacy internal keys will stay. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14367)
This commit is contained in:
parent
77b03f0e8f
commit
81f9af3460
@ -339,7 +339,7 @@ static int der2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection,
|
||||
* Tear out the low-level key pointer from the pkey,
|
||||
* but only if it matches the expected key type.
|
||||
*
|
||||
* TODO: The check should be done with EVP_PKEY_is_a(), but
|
||||
* The check should be done with EVP_PKEY_is_a(), but
|
||||
* as long as we still have #legacy internal keys, it's safer
|
||||
* to use the type numbers inside the provider.
|
||||
*/
|
||||
|
@ -148,7 +148,7 @@ static int ms2key_post(struct ms2key_ctx_st *ctx, EVP_PKEY *pkey,
|
||||
* Tear out the low-level key pointer from the pkey,
|
||||
* but only if it matches the expected key type.
|
||||
*
|
||||
* TODO(3.0): The check should be done with EVP_PKEY_is_a(), but
|
||||
* The check should be done with EVP_PKEY_is_a(), but
|
||||
* as long as we still have #legacy internal keys, it's safer to
|
||||
* use the type numbers in side the provider.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user