The OpenBSD project has replaced the first implementation of the /dev/crypto
[oweals/openssl.git] / crypto / evp / p_lib.c
index 1056e4bffdf0f395f1312123dbe3114bfaff1131..c7a3dee108141fe81d3a9616da053f5b097e1eac 100644 (file)
@@ -117,7 +117,7 @@ int EVP_PKEY_size(EVP_PKEY *pkey)
                if (pkey->type == EVP_PKEY_DSA)
                return(DSA_size(pkey->pkey.dsa));
 #endif
-#ifndef OPENSSL_NO_EC
+#ifndef OPENSSL_NO_ECDSA
                if (pkey->type == EVP_PKEY_EC)
                return(ECDSA_size(pkey->pkey.eckey));
 #endif