summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-03-02 09:39:02 +0000
committertb <>2024-03-02 09:39:02 +0000
commit86d8910f5e64b1f55be12246f4c5039230fb3aa9 (patch)
tree213eec0a3d341235ed1357a48b6fc97dd6de21b0
parent90028f789c9544abf19620f07eea235fb9839e17 (diff)
downloadopenbsd-86d8910f5e64b1f55be12246f4c5039230fb3aa9.tar.gz
openbsd-86d8910f5e64b1f55be12246f4c5039230fb3aa9.tar.bz2
openbsd-86d8910f5e64b1f55be12246f4c5039230fb3aa9.zip
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--src/lib/libcrypto/evp/evp.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 01d4907233..1d867671e4 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.122 2024/03/02 09:36:40 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.123 2024/03/02 09:39:02 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -461,15 +461,6 @@ int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey,
461int EVP_Cipher(EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in, 461int EVP_Cipher(EVP_CIPHER_CTX *c, unsigned char *out, const unsigned char *in,
462 unsigned int inl); 462 unsigned int inl);
463 463
464#define EVP_add_cipher_alias(n,alias) \
465 OBJ_NAME_add((alias),OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS,(n))
466#define EVP_add_digest_alias(n,alias) \
467 OBJ_NAME_add((alias),OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS,(n))
468#define EVP_delete_cipher_alias(alias) \
469 OBJ_NAME_remove(alias,OBJ_NAME_TYPE_CIPHER_METH|OBJ_NAME_ALIAS);
470#define EVP_delete_digest_alias(alias) \
471 OBJ_NAME_remove(alias,OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS);
472
473EVP_MD_CTX *EVP_MD_CTX_new(void); 464EVP_MD_CTX *EVP_MD_CTX_new(void);
474void EVP_MD_CTX_free(EVP_MD_CTX *ctx); 465void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
475#ifndef LIBRESSL_INTERNAL 466#ifndef LIBRESSL_INTERNAL