diff options
| author | jsing <> | 2024-03-26 06:31:22 +0000 |
|---|---|---|
| committer | jsing <> | 2024-03-26 06:31:22 +0000 |
| commit | e382a20db9324b738a67c68ab2ca9180ad743fc6 (patch) | |
| tree | 05b81f5cf0dd44cd52da29c348c5d6bde8847a18 /src | |
| parent | bd68c6e1694d8d4eb801f32889da4cdde0b3c311 (diff) | |
| download | openbsd-e382a20db9324b738a67c68ab2ca9180ad743fc6.tar.gz openbsd-e382a20db9324b738a67c68ab2ca9180ad743fc6.tar.bz2 openbsd-e382a20db9324b738a67c68ab2ca9180ad743fc6.zip | |
Fix previous commit.
Diffstat (limited to 'src')
| -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 | } |
