Fixes #12983
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13088)
key = load_key(keyfile, keyform, 0, passin, e, "signing key");
if (key == NULL)
goto end;
-
- /*
- * TODO: Remove this when CMS has full support for provider-native
- * EVP_PKEYs
- */
- if (EVP_PKEY_get0(key) == NULL)
- goto end;
}
in = bio_open_default(infile, 'r', informat);
goto end;
}
- /*
- * TODO: Remove this when CMS has full support for provider-native
- * EVP_PKEYs
- */
- if (EVP_PKEY_get0(key) == NULL)
- goto end;
-
for (kparam = key_first; kparam; kparam = kparam->next) {
if (kparam->idx == i) {
tflags |= CMS_KEY_PARAM;