summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r--src/lib/libtls/tls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index 6b36886dc3..5a3a6254ab 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.67 2024/08/02 15:00:01 tb Exp $ */ 1/* $OpenBSD: tls.h,v 1.68 2024/12/10 08:40:30 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -200,6 +200,7 @@ int tls_close(struct tls *_ctx);
200int tls_peer_cert_provided(struct tls *_ctx); 200int tls_peer_cert_provided(struct tls *_ctx);
201int tls_peer_cert_contains_name(struct tls *_ctx, const char *_name); 201int tls_peer_cert_contains_name(struct tls *_ctx, const char *_name);
202 202
203const char *tls_peer_cert_common_name(struct tls *_ctx);
203const char *tls_peer_cert_hash(struct tls *_ctx); 204const char *tls_peer_cert_hash(struct tls *_ctx);
204const char *tls_peer_cert_issuer(struct tls *_ctx); 205const char *tls_peer_cert_issuer(struct tls *_ctx);
205const char *tls_peer_cert_subject(struct tls *_ctx); 206const char *tls_peer_cert_subject(struct tls *_ctx);