From 865595b7949a8570e87c638d4e782067d0a06a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 14 Feb 2025 13:04:11 +0100 Subject: Also hide cert_keys in the logs --- src/ranch_acceptors_sup.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ranch_acceptors_sup.erl b/src/ranch_acceptors_sup.erl index 064f283..9bc3947 100644 --- a/src/ranch_acceptors_sup.erl +++ b/src/ranch_acceptors_sup.erl @@ -103,6 +103,8 @@ hide_socket_opts([{cacerts, _}|SocketOpts]) -> [{cacerts, '...'}|hide_socket_opts(SocketOpts)]; hide_socket_opts([{password, _}|SocketOpts]) -> [{password, '...'}|hide_socket_opts(SocketOpts)]; +hide_socket_opts([{certs_keys, _}|SocketOpts]) -> + [{certs_keys, '...'}|hide_socket_opts(SocketOpts)]; hide_socket_opts([SocketOpt|SocketOpts]) -> [SocketOpt|hide_socket_opts(SocketOpts)]. -- cgit v1.2.3