From 66c7a9c384b9ff35fba06f295d2de25f8e28e1ce Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 2 Mar 2024 09:39:02 +0000 Subject: [PATCH] Remove EVP_{add,delete}_{cipher,digest}_alias() These are macro wrappers around the neutered OBJ_NAME_{add,remove}() API (notice the consistency), which will be removed shortly. Only security/xca used to use this. ok jsing --- lib/libcrypto/evp/evp.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/libcrypto/evp/evp.h b/lib/libcrypto/evp/evp.h index 01d4907233f..1d867671e41 100644 --- a/lib/libcrypto/evp/evp.h +++ b/lib/libcrypto/evp/evp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: evp.h,v 1.122 2024/03/02 09:36:40 tb Exp $ */ +/* $OpenBSD: evp.h,v 1.123 2024/03/02 09:39:02 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -461,15 +461,6 @@ int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, int EVP_Cipher(EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in, unsigned int inl); -#define EVP_add_cipher_alias(n,alias) \ - OBJ_NAME_add((alias),OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS,(n)) -#define EVP_add_digest_alias(n,alias) \ - OBJ_NAME_add((alias),OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS,(n)) -#define EVP_delete_cipher_alias(alias) \ - OBJ_NAME_remove(alias,OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS); -#define EVP_delete_digest_alias(alias) \ - OBJ_NAME_remove(alias,OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS); - EVP_MD_CTX *EVP_MD_CTX_new(void); void EVP_MD_CTX_free(EVP_MD_CTX *ctx); #ifndef LIBRESSL_INTERNAL -- 2.20.1