diff options
author | beck <> | 2017-02-20 23:21:19 +0000 |
---|---|---|
committer | beck <> | 2017-02-20 23:21:19 +0000 |
commit | 0179324cb8e49724e624c4a6c35de46c975416d4 (patch) | |
tree | 72f034bdca67cf5c4c20f03eb985bcaf9e3f89ef /src/lib/libcrypto/err/err.h | |
parent | 6cb36c9d835e1348d93099b63bcdaf2a02c38532 (diff) | |
download | openbsd-0179324cb8e49724e624c4a6c35de46c975416d4.tar.gz openbsd-0179324cb8e49724e624c4a6c35de46c975416d4.tar.bz2 openbsd-0179324cb8e49724e624c4a6c35de46c975416d4.zip |
Mark ERR_add_error_data and ERR_add_error_vdata as not for internal use,
and document ERR_asprintf_error_data as their replacement.
ok jsing@, ingo@
Diffstat (limited to 'src/lib/libcrypto/err/err.h')
-rw-r--r-- | src/lib/libcrypto/err/err.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index 672dead06b..22cdb2987f 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.24 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: err.h,v 1.25 2017/02/20 23:21:19 beck 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 | * |
@@ -378,8 +378,10 @@ void ERR_print_errors_fp(FILE *fp); | |||
378 | void ERR_print_errors(BIO *bp); | 378 | void ERR_print_errors(BIO *bp); |
379 | #endif | 379 | #endif |
380 | void ERR_asprintf_error_data(char * format, ...); | 380 | void ERR_asprintf_error_data(char * format, ...); |
381 | #ifndef LIBRESSL_INTERNAL | ||
381 | void ERR_add_error_data(int num, ...); | 382 | void ERR_add_error_data(int num, ...); |
382 | void ERR_add_error_vdata(int num, va_list args); | 383 | void ERR_add_error_vdata(int num, va_list args); |
384 | #endif | ||
383 | void ERR_load_strings(int lib, ERR_STRING_DATA str[]); | 385 | void ERR_load_strings(int lib, ERR_STRING_DATA str[]); |
384 | void ERR_unload_strings(int lib, ERR_STRING_DATA str[]); | 386 | void ERR_unload_strings(int lib, ERR_STRING_DATA str[]); |
385 | void ERR_load_ERR_strings(void); | 387 | void ERR_load_ERR_strings(void); |