summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err.h
diff options
context:
space:
mode:
authorbeck <>2014-04-24 15:07:20 +0000
committerbeck <>2014-04-24 15:07:20 +0000
commit24f437ddb1b6ef36ec5b11f24b7b9d5ce1257f1c (patch)
treed252bc0e88f78d2be56f39cbb6bb4358e0299383 /src/lib/libcrypto/err/err.h
parent7a428742444c9261fdb1a28c252724134c3e7bef (diff)
downloadopenbsd-24f437ddb1b6ef36ec5b11f24b7b9d5ce1257f1c.tar.gz
openbsd-24f437ddb1b6ef36ec5b11f24b7b9d5ce1257f1c.tar.bz2
openbsd-24f437ddb1b6ef36ec5b11f24b7b9d5ce1257f1c.zip
add ERR_asprintf_error_data, A tool to be used to get rid of the far too
frequent construct of 30 lines of pointer and strlcat insanity followed by an ERR_add_error_data. I will sweep through here like a chubby mongol horde in the next few days pillaging crappy ERR_add_error_data's. Oh and while we're at it fix the nasty vdata function to use something less hard on the eyes. ok jsing@
Diffstat (limited to 'src/lib/libcrypto/err/err.h')
-rw-r--r--src/lib/libcrypto/err/err.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h
index 87dfef2456..8facd62711 100644
--- a/src/lib/libcrypto/err/err.h
+++ b/src/lib/libcrypto/err/err.h
@@ -343,6 +343,7 @@ void ERR_print_errors_fp(FILE *fp);
343#ifndef OPENSSL_NO_BIO 343#ifndef OPENSSL_NO_BIO
344void ERR_print_errors(BIO *bp); 344void ERR_print_errors(BIO *bp);
345#endif 345#endif
346void ERR_asprintf_error_data(char * format, ...);
346void ERR_add_error_data(int num, ...); 347void ERR_add_error_data(int num, ...);
347void ERR_add_error_vdata(int num, va_list args); 348void ERR_add_error_vdata(int num, va_list args);
348void ERR_load_strings(int lib, ERR_STRING_DATA str[]); 349void ERR_load_strings(int lib, ERR_STRING_DATA str[]);