]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/ec.c
Rename all getters to use get/get0 in name
[thirdparty/openssl.git] / apps / ec.c
index 3a7f505474b5f9ce6e14bfd9a9b510b895bfccd8..dcbef104eefeeca0fe48ca63ebd523b1d82d7d73 100644 (file)
--- a/apps/ec.c
+++ b/apps/ec.c
@@ -260,7 +260,7 @@ int ec_main(int argc, char **argv)
                                              output_type, output_structure,
                                              NULL);
         if (enc != NULL) {
-            OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_name(enc), NULL);
+            OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_get0_name(enc), NULL);
             /* Default passphrase prompter */
             OSSL_ENCODER_CTX_set_passphrase_ui(ectx, get_ui_method(), NULL);
             if (passout != NULL)