]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/evp/evp_lib.c
Modify providers that keep track of underlying algorithms
[thirdparty/openssl.git] / crypto / evp / evp_lib.c
index 000d6e9623a1fc8e97590a30d0e748d77dcb6de1..e48c63037e220f10a65af33df57ec2aa862aa3ad 100644 (file)
@@ -448,6 +448,11 @@ int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx)
     return ctx->cipher->nid;
 }
 
+int EVP_CIPHER_is_a(const EVP_CIPHER *cipher, const char *name)
+{
+    return evp_is_a(cipher->prov, cipher->name_id, name);
+}
+
 const char *EVP_CIPHER_name(const EVP_CIPHER *cipher)
 {
     if (cipher->prov != NULL)