summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsing <>2024-03-26 06:31:22 +0000
committerjsing <>2024-03-26 06:31:22 +0000
commit6bc01c976544e30dd0109f9b3f569c2e5160252c (patch)
tree05b81f5cf0dd44cd52da29c348c5d6bde8847a18 /src/lib
parent936498dd6ef929653cff09dd6b3303e39c8ad08d (diff)
downloadopenbsd-6bc01c976544e30dd0109f9b3f569c2e5160252c.tar.gz
openbsd-6bc01c976544e30dd0109f9b3f569c2e5160252c.tar.bz2
openbsd-6bc01c976544e30dd0109f9b3f569c2e5160252c.zip
Fix previous commit.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libtls/tls_conninfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_conninfo.c b/src/lib/libtls/tls_conninfo.c
index bc15b85eaf..bf525170f1 100644
--- a/src/lib/libtls/tls_conninfo.c
+++ b/src/lib/libtls/tls_conninfo.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_conninfo.c,v 1.26 2024/03/26 06:24:52 joshua Exp $ */ 1/* $OpenBSD: tls_conninfo.c,v 1.27 2024/03/26 06:31:22 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2015 Bob Beck <beck@openbsd.org> 4 * Copyright (c) 2015 Bob Beck <beck@openbsd.org>
@@ -79,7 +79,7 @@ tls_get_peer_cert_hash(struct tls *ctx, char **hash)
79 return (0); 79 return (0);
80 80
81 if (tls_cert_hash(ctx->ssl_peer_cert, hash) == -1) { 81 if (tls_cert_hash(ctx->ssl_peer_cert, hash) == -1) {
82 tls_set_errorx(ctx, TLS_ERROR_OUT_OF_MEMORY, "out of memory")y 82 tls_set_errorx(ctx, TLS_ERROR_OUT_OF_MEMORY, "out of memory");
83 *hash = NULL; 83 *hash = NULL;
84 return -1; 84 return -1;
85 } 85 }