fix(tls_lib): ssl file key list contains atom and bin
This commit is contained in:
parent
ad4b70c27e
commit
22c25fc7e8
|
@ -289,7 +289,7 @@ ensure_ssl_files(Dir, SSL, Opts) ->
|
||||||
RequiredKeys = maps:get(required_keys, Opts, []),
|
RequiredKeys = maps:get(required_keys, Opts, []),
|
||||||
case ensure_ssl_file_key(SSL, RequiredKeys) of
|
case ensure_ssl_file_key(SSL, RequiredKeys) of
|
||||||
ok ->
|
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);
|
ensure_ssl_files(Dir, SSL, Keys, Opts);
|
||||||
{error, _} = Error ->
|
{error, _} = Error ->
|
||||||
Error
|
Error
|
||||||
|
|
Loading…
Reference in New Issue