summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libssl/api/apitest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/api/apitest.c b/src/regress/lib/libssl/api/apitest.c
index 9a58de9f83..37adb0c06f 100644
--- a/src/regress/lib/libssl/api/apitest.c
+++ b/src/regress/lib/libssl/api/apitest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: apitest.c,v 1.2 2023/04/14 12:38:30 tb Exp $ */ 1/* $OpenBSD: apitest.c,v 1.3 2024/09/07 16:39:29 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2020, 2021 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -284,7 +284,7 @@ ssl_get_peer_cert_chain_test(uint16_t tls_version)
284 /* 284 /*
285 * Due to the wonders of API inconsistency, SSL_get_peer_cert_chain() 285 * Due to the wonders of API inconsistency, SSL_get_peer_cert_chain()
286 * includes the peer's leaf certificate when called by the client, 286 * includes the peer's leaf certificate when called by the client,
287 * however it does not when called by the server. Futhermore, the 287 * however it does not when called by the server. Furthermore, the
288 * certificate returned by SSL_get_peer_certificate() has already 288 * certificate returned by SSL_get_peer_certificate() has already
289 * had its reference count incremented and must be freed, where as 289 * had its reference count incremented and must be freed, where as
290 * the certificates returned from SSL_get_peer_cert_chain() must 290 * the certificates returned from SSL_get_peer_cert_chain() must