summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects
diff options
context:
space:
mode:
authortb <>2024-01-13 12:18:52 +0000
committertb <>2024-01-13 12:18:52 +0000
commitffcbcf224e3b614df8406b4f4316bcb3494828b4 (patch)
tree0180b49c7eebb723d95ce58815ee65a6c3eb8b1a /src/lib/libcrypto/objects
parentaece9df797c54eb13f72b041cc251439ffa16cfd (diff)
downloadopenbsd-ffcbcf224e3b614df8406b4f4316bcb3494828b4.tar.gz
openbsd-ffcbcf224e3b614df8406b4f4316bcb3494828b4.tar.bz2
openbsd-ffcbcf224e3b614df8406b4f4316bcb3494828b4.zip
The OBJ_NAME API joins the party in evp_names.c
... and another file without license disappears.
Diffstat (limited to 'src/lib/libcrypto/objects')
-rw-r--r--src/lib/libcrypto/objects/o_names.c51
1 files changed, 0 insertions, 51 deletions
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 @@
1/* $OpenBSD: o_names.c,v 1.26 2024/01/13 11:38:45 tb Exp $ */
2#include <openssl/err.h>
3#include <openssl/objects.h>
4
5int
6OBJ_NAME_init(void)
7{
8 OBJerror(ERR_R_DISABLED);
9 return 0;
10}
11LCRYPTO_ALIAS(OBJ_NAME_init);
12
13int
14OBJ_NAME_new_index(unsigned long (*hash_func)(const char *),
15 int (*cmp_func)(const char *, const char *),
16 void (*free_func)(const char *, int, const char *))
17{
18 OBJerror(ERR_R_DISABLED);
19 return 0;
20}
21LCRYPTO_ALIAS(OBJ_NAME_new_index);
22
23const char *
24OBJ_NAME_get(const char *name, int type)
25{
26 OBJerror(ERR_R_DISABLED);
27 return NULL;
28}
29LCRYPTO_ALIAS(OBJ_NAME_get);
30
31int
32OBJ_NAME_add(const char *name, int type, const char *data)
33{
34 /* No error to avoid polluting xca's error stack. */
35 return 0;
36}
37LCRYPTO_ALIAS(OBJ_NAME_add);
38
39int
40OBJ_NAME_remove(const char *name, int type)
41{
42 OBJerror(ERR_R_DISABLED);
43 return 0;
44}
45LCRYPTO_ALIAS(OBJ_NAME_remove);
46
47void
48OBJ_NAME_cleanup(int type)
49{
50}
51LCRYPTO_ALIAS(OBJ_NAME_cleanup);