diff options
| author | tb <> | 2024-01-13 12:18:52 +0000 |
|---|---|---|
| committer | tb <> | 2024-01-13 12:18:52 +0000 |
| commit | 24cedf0f15ad1593149319e538270eb81d6b0b6c (patch) | |
| tree | 0180b49c7eebb723d95ce58815ee65a6c3eb8b1a /src/lib/libcrypto/objects | |
| parent | baaadaa13e73120edb7a69a5d7e2d21c2898f860 (diff) | |
| download | openbsd-24cedf0f15ad1593149319e538270eb81d6b0b6c.tar.gz openbsd-24cedf0f15ad1593149319e538270eb81d6b0b6c.tar.bz2 openbsd-24cedf0f15ad1593149319e538270eb81d6b0b6c.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.c | 51 |
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 | |||
| 5 | int | ||
| 6 | OBJ_NAME_init(void) | ||
| 7 | { | ||
| 8 | OBJerror(ERR_R_DISABLED); | ||
| 9 | return 0; | ||
| 10 | } | ||
| 11 | LCRYPTO_ALIAS(OBJ_NAME_init); | ||
| 12 | |||
| 13 | int | ||
| 14 | OBJ_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 | } | ||
| 21 | LCRYPTO_ALIAS(OBJ_NAME_new_index); | ||
| 22 | |||
| 23 | const char * | ||
| 24 | OBJ_NAME_get(const char *name, int type) | ||
| 25 | { | ||
| 26 | OBJerror(ERR_R_DISABLED); | ||
| 27 | return NULL; | ||
| 28 | } | ||
| 29 | LCRYPTO_ALIAS(OBJ_NAME_get); | ||
| 30 | |||
| 31 | int | ||
| 32 | OBJ_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 | } | ||
| 37 | LCRYPTO_ALIAS(OBJ_NAME_add); | ||
| 38 | |||
| 39 | int | ||
| 40 | OBJ_NAME_remove(const char *name, int type) | ||
| 41 | { | ||
| 42 | OBJerror(ERR_R_DISABLED); | ||
| 43 | return 0; | ||
| 44 | } | ||
| 45 | LCRYPTO_ALIAS(OBJ_NAME_remove); | ||
| 46 | |||
| 47 | void | ||
| 48 | OBJ_NAME_cleanup(int type) | ||
| 49 | { | ||
| 50 | } | ||
| 51 | LCRYPTO_ALIAS(OBJ_NAME_cleanup); | ||
