fix(tls_lib): ssl file key list contains atom and bin

This commit is contained in:
JimMoen 2022-04-29 14:05:55 +08:00
parent ad4b70c27e
commit 22c25fc7e8
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ ensure_ssl_files(Dir, SSL, Opts) ->
RequiredKeys = maps:get(required_keys, Opts, []),
case ensure_ssl_file_key(SSL, RequiredKeys) of
ok ->
Keys = ?SSL_FILE_OPT_NAMES ++ ?SSL_FILE_OPT_NAMES,
Keys = ?SSL_FILE_OPT_NAMES ++ ?SSL_FILE_OPT_NAMES_A,
ensure_ssl_files(Dir, SSL, Keys, Opts);
{error, _} = Error ->
Error