diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 09:39:03 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 09:39:03 +0000 |
commit | ff2ff43e220326fd2b93b7222f0b6e3c9d8f026d (patch) | |
tree | 721c16a0e68f65b340018d774d18fbfe6fa37b32 | |
parent | 3ad2c0067fcbb3218ed707cf001c4c191e426526 (diff) |
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
-rw-r--r-- | lib/libcrypto/evp/evp.h | 11 |
1 files changed, 1 insertions, 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 |