diff options
author | tb <> | 2023-07-28 10:21:01 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 10:21:01 +0000 |
commit | e68ca11e376f4237fb9f8c10487e2d7b7dbfe585 (patch) | |
tree | f5135e3be73a200e3de6c7653f8573224f325770 /src/lib/libcrypto/err/err.h | |
parent | 80044b19f0ece8df72ab24e3c1d89b8ca3d14bf7 (diff) | |
download | openbsd-e68ca11e376f4237fb9f8c10487e2d7b7dbfe585.tar.gz openbsd-e68ca11e376f4237fb9f8c10487e2d7b7dbfe585.tar.bz2 openbsd-e68ca11e376f4237fb9f8c10487e2d7b7dbfe585.zip |
Remove ERR_{get,set}_implementation()
Much like ex_data, applications can make the library use their own error
stack implementation. Well, except as of right now they no longer can.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/err/err.h')
-rw-r--r-- | src/lib/libcrypto/err/err.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index b61599d508..703817be33 100644 --- a/src/lib/libcrypto/err/err.h +++ b/src/lib/libcrypto/err/err.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: err.h,v 1.29 2023/04/09 19:10:23 tb Exp $ */ | 1 | /* $OpenBSD: err.h,v 1.30 2023/07/28 10:21:01 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -410,15 +410,6 @@ int ERR_get_next_error_library(void); | |||
410 | int ERR_set_mark(void); | 410 | int ERR_set_mark(void); |
411 | int ERR_pop_to_mark(void); | 411 | int ERR_pop_to_mark(void); |
412 | 412 | ||
413 | /* Already defined in ossl_typ.h */ | ||
414 | /* typedef struct st_ERR_FNS ERR_FNS; */ | ||
415 | /* An application can use this function and provide the return value to loaded | ||
416 | * modules that should use the application's ERR state/functionality */ | ||
417 | const ERR_FNS *ERR_get_implementation(void); | ||
418 | /* A loaded module should call this function prior to any ERR operations using | ||
419 | * the application's "ERR_FNS". */ | ||
420 | int ERR_set_implementation(const ERR_FNS *fns); | ||
421 | |||
422 | #ifdef __cplusplus | 413 | #ifdef __cplusplus |
423 | } | 414 | } |
424 | #endif | 415 | #endif |