From 9afd75017659c5c6eb88756de8269931fb72c002 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 10 Mar 2023 16:41:07 +0000 Subject: [PATCH] Expose the EVP_CIPHER_meth_* API (setter only) in evp.h --- lib/libcrypto/evp/evp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libcrypto/evp/evp.h b/lib/libcrypto/evp/evp.h index c2008493a26..035b4ad28c1 100644 --- a/lib/libcrypto/evp/evp.h +++ b/lib/libcrypto/evp/evp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evp.h,v 1.113 2023/03/01 11:17:22 tb Exp $ */ +/* $OpenBSD: evp.h,v 1.114 2023/03/10 16:41:07 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -407,7 +407,6 @@ unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx); unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx); #define EVP_CIPHER_CTX_mode(e) (EVP_CIPHER_CTX_flags(e) & EVP_CIPH_MODE) -#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher); void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); @@ -429,7 +428,6 @@ int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher, int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *)); int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher, int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr)); -#endif /* LIBRESSL_INTERNAL || LIBRESSL_NEXT_API */ EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *engine, const unsigned char *private_key, size_t len); -- 2.20.1