From 154fc5fb0759d12fe2641457624c09b8a3f4e59b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 4 Apr 2026 02:39:13 +0100 Subject: Fix some missing comments. --- include/modules/tls.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/modules/tls.h b/include/modules/tls.h index be95ba53a..6b0283795 100644 --- a/include/modules/tls.h +++ b/include/modules/tls.h @@ -28,12 +28,17 @@ namespace TLS class Certificate; class IOHook; + /** A shared pointer to a TLS certificate. */ using CertificatePtr = std::shared_ptr; + + /** A list of TLS certificate fingerprints. */ using FingerprintList = std::vector; + /** If a socket contains a TLS hook then returns the hook; otherwise, returns nullptr. */ inline IOHook* GetHook(StreamSocket* sock); } +/** Encapsulates information about a TLS certificate. */ class TLS::Certificate : public std::enable_shared_from_this { -- cgit v1.3.1-10-gc9f91