summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_names.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/evp_names.c')
-rw-r--r--src/lib/libcrypto/evp/evp_names.c54
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
1914EVP_cleanup(void) 1914EVP_cleanup(void)
1915{ 1915{
1916} 1916}
1917
1918/*
1919 * XXX - Remove all the garbage below in the next bump.
1920 */
1921
1922int
1923OBJ_NAME_init(void)
1924{
1925 OBJerror(ERR_R_DISABLED);
1926 return 0;
1927}
1928LCRYPTO_ALIAS(OBJ_NAME_init);
1929
1930int
1931OBJ_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}
1938LCRYPTO_ALIAS(OBJ_NAME_new_index);
1939
1940const char *
1941OBJ_NAME_get(const char *name, int type)
1942{
1943 OBJerror(ERR_R_DISABLED);
1944 return NULL;
1945}
1946LCRYPTO_ALIAS(OBJ_NAME_get);
1947
1948int
1949OBJ_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}
1954LCRYPTO_ALIAS(OBJ_NAME_add);
1955
1956int
1957OBJ_NAME_remove(const char *name, int type)
1958{
1959 OBJerror(ERR_R_DISABLED);
1960 return 0;
1961}
1962LCRYPTO_ALIAS(OBJ_NAME_remove);
1963
1964void
1965OBJ_NAME_cleanup(int type)
1966{
1967}
1968LCRYPTO_ALIAS(OBJ_NAME_cleanup);