summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_txt.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2017-01-26 10:40:22 +0000
committerBob Beck <beck@cvs.openbsd.org>2017-01-26 10:40:22 +0000
commitee68bb8fd64ac2d3ac03b69927c57a5389268519 (patch)
treea5fae06427e6893c2066c9db3b6cf780448c7f79 /lib/libssl/ssl_txt.c
parentb394254bc32be764fd75ae6b8067757028b9ede4 (diff)
Send the error function codes to rot in the depths of hell where they belong
We leave a single funciton code (0xFFF) to say "SSL_internal" so the public API will not break, and we replace all internal use of the two argument SSL_err() with the internal only SSL_error() that only takes a reason code. ok jsing@
Diffstat (limited to 'lib/libssl/ssl_txt.c')
-rw-r--r--lib/libssl/ssl_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_txt.c b/lib/libssl/ssl_txt.c
index c3626dc03a1..f654d0b3a11 100644
--- a/lib/libssl/ssl_txt.c
+++ b/lib/libssl/ssl_txt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_txt.c,v 1.26 2014/12/14 15:30:50 jsing Exp $ */
+/* $OpenBSD: ssl_txt.c,v 1.27 2017/01/26 10:40:21 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -95,7 +95,7 @@ SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x)
int ret;
if ((b = BIO_new(BIO_s_file_internal())) == NULL) {
- SSLerr(SSL_F_SSL_SESSION_PRINT_FP, ERR_R_BUF_LIB);
+ SSLerror(ERR_R_BUF_LIB);
return (0);
}
BIO_set_fp(b, fp, BIO_NOCLOSE);