diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libtls/tls_conninfo.c | 4 |
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 | } |