diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_names.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_names.c | 54 |
1 files changed, 1 insertions, 53 deletions
diff --git a/src/lib/libcrypto/evp/evp_names.c b/src/lib/libcrypto/evp/evp_names.c index a3af2ed1a6..ad325bad35 100644 --- a/src/lib/libcrypto/evp/evp_names.c +++ b/src/lib/libcrypto/evp/evp_names.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_names.c,v 1.9 2024/03/02 09:36:40 tb Exp $ */ | 1 | /* $OpenBSD: evp_names.c,v 1.10 2024/03/02 09:41:02 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -1914,55 +1914,3 @@ void | |||
1914 | EVP_cleanup(void) | 1914 | EVP_cleanup(void) |
1915 | { | 1915 | { |
1916 | } | 1916 | } |
1917 | |||
1918 | /* | ||
1919 | * XXX - Remove all the garbage below in the next bump. | ||
1920 | */ | ||
1921 | |||
1922 | int | ||
1923 | OBJ_NAME_init(void) | ||
1924 | { | ||
1925 | OBJerror(ERR_R_DISABLED); | ||
1926 | return 0; | ||
1927 | } | ||
1928 | LCRYPTO_ALIAS(OBJ_NAME_init); | ||
1929 | |||
1930 | int | ||
1931 | OBJ_NAME_new_index(unsigned long (*hash_func)(const char *), | ||
1932 | int (*cmp_func)(const char *, const char *), | ||
1933 | void (*free_func)(const char *, int, const char *)) | ||
1934 | { | ||
1935 | OBJerror(ERR_R_DISABLED); | ||
1936 | return 0; | ||
1937 | } | ||
1938 | LCRYPTO_ALIAS(OBJ_NAME_new_index); | ||
1939 | |||
1940 | const char * | ||
1941 | OBJ_NAME_get(const char *name, int type) | ||
1942 | { | ||
1943 | OBJerror(ERR_R_DISABLED); | ||
1944 | return NULL; | ||
1945 | } | ||
1946 | LCRYPTO_ALIAS(OBJ_NAME_get); | ||
1947 | |||
1948 | int | ||
1949 | OBJ_NAME_add(const char *name, int type, const char *data) | ||
1950 | { | ||
1951 | /* No error to avoid polluting xca's error stack. */ | ||
1952 | return 0; | ||
1953 | } | ||
1954 | LCRYPTO_ALIAS(OBJ_NAME_add); | ||
1955 | |||
1956 | int | ||
1957 | OBJ_NAME_remove(const char *name, int type) | ||
1958 | { | ||
1959 | OBJerror(ERR_R_DISABLED); | ||
1960 | return 0; | ||
1961 | } | ||
1962 | LCRYPTO_ALIAS(OBJ_NAME_remove); | ||
1963 | |||
1964 | void | ||
1965 | OBJ_NAME_cleanup(int type) | ||
1966 | { | ||
1967 | } | ||
1968 | LCRYPTO_ALIAS(OBJ_NAME_cleanup); | ||