diff options
author | Loïc Hoguin <[email protected]> | 2025-02-14 13:04:11 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2025-02-14 13:04:11 +0100 |
commit | 865595b7949a8570e87c638d4e782067d0a06a51 (patch) | |
tree | f217d0ebff0e98fd0e79554f0654ee96af85e7df /src | |
parent | 83fe0e0ef0cb2aaebce46500f3de399e21f5ce1f (diff) | |
download | ranch-865595b7949a8570e87c638d4e782067d0a06a51.tar.gz ranch-865595b7949a8570e87c638d4e782067d0a06a51.tar.bz2 ranch-865595b7949a8570e87c638d4e782067d0a06a51.zip |
Also hide cert_keys in the logs
Diffstat (limited to 'src')
-rw-r--r-- | src/ranch_acceptors_sup.erl | 2 |
1 files changed, 2 insertions, 0 deletions
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)]. |