summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2021-02-20 14:14:16 +0000
committertb <tb@openbsd.org>2021-02-20 14:14:16 +0000
commitba06b73eb7dffead0e0f080192be9f605471bd3f (patch)
treef4f92b9b4694ac23287ad705e08e3109c15783f0 /lib/libssl/ssl_lib.c
parentRename the truncated label into decode_err. This describes its purpose (diff)
downloadwireguard-openbsd-ba06b73eb7dffead0e0f080192be9f605471bd3f.tar.xz
wireguard-openbsd-ba06b73eb7dffead0e0f080192be9f605471bd3f.zip
Rename f_err into fatal_err.
discussed with jsing
Diffstat (limited to 'lib/libssl/ssl_lib.c')
-rw-r--r--lib/libssl/ssl_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c
index 6a182f2e3b1..33aca33c922 100644
--- a/lib/libssl/ssl_lib.c
+++ b/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_lib.c,v 1.247 2021/02/20 09:43:29 jsing Exp $ */
+/* $OpenBSD: ssl_lib.c,v 1.248 2021/02/20 14:14:16 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1600,7 +1600,7 @@ SSL_select_next_proto(unsigned char **out, unsigned char *outlen,
result = client;
status = OPENSSL_NPN_NO_OVERLAP;
-found:
+ found:
*out = (unsigned char *) result + 1;
*outlen = result[0];
return (status);
@@ -1942,9 +1942,9 @@ SSL_CTX_new(const SSL_METHOD *meth)
ret->internal->options |= SSL_OP_LEGACY_SERVER_CONNECT;
return (ret);
-err:
+ err:
SSLerrorx(ERR_R_MALLOC_FAILURE);
-err2:
+ err2:
SSL_CTX_free(ret);
return (NULL);
}