From ffcbcf224e3b614df8406b4f4316bcb3494828b4 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 13 Jan 2024 12:18:52 +0000 Subject: The OBJ_NAME API joins the party in evp_names.c ... and another file without license disappears. --- src/lib/libcrypto/objects/o_names.c | 51 ------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 src/lib/libcrypto/objects/o_names.c (limited to 'src/lib/libcrypto/objects') diff --git a/src/lib/libcrypto/objects/o_names.c b/src/lib/libcrypto/objects/o_names.c deleted file mode 100644 index 566ada4d49..0000000000 --- a/src/lib/libcrypto/objects/o_names.c +++ /dev/null @@ -1,51 +0,0 @@ -/* $OpenBSD: o_names.c,v 1.26 2024/01/13 11:38:45 tb Exp $ */ -#include -#include - -int -OBJ_NAME_init(void) -{ - OBJerror(ERR_R_DISABLED); - return 0; -} -LCRYPTO_ALIAS(OBJ_NAME_init); - -int -OBJ_NAME_new_index(unsigned long (*hash_func)(const char *), - int (*cmp_func)(const char *, const char *), - void (*free_func)(const char *, int, const char *)) -{ - OBJerror(ERR_R_DISABLED); - return 0; -} -LCRYPTO_ALIAS(OBJ_NAME_new_index); - -const char * -OBJ_NAME_get(const char *name, int type) -{ - OBJerror(ERR_R_DISABLED); - return NULL; -} -LCRYPTO_ALIAS(OBJ_NAME_get); - -int -OBJ_NAME_add(const char *name, int type, const char *data) -{ - /* No error to avoid polluting xca's error stack. */ - return 0; -} -LCRYPTO_ALIAS(OBJ_NAME_add); - -int -OBJ_NAME_remove(const char *name, int type) -{ - OBJerror(ERR_R_DISABLED); - return 0; -} -LCRYPTO_ALIAS(OBJ_NAME_remove); - -void -OBJ_NAME_cleanup(int type) -{ -} -LCRYPTO_ALIAS(OBJ_NAME_cleanup); -- cgit v1.2.3-55-g6feb