diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2015-09-17 16:53:00 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2015-09-17 16:53:00 +0300 |
| commit | 290861c1796f418ab74b688af860acef4125e375 (patch) | |
| tree | ffee2d0abc262e582799c41ed7c4a74925fa4555 /src | |
| parent | f62e117a0f10b249d52fcf8627a0e0c0011ee1d7 (diff) | |
| download | rabbitmq-server-git-290861c1796f418ab74b688af860acef4125e375.tar.gz | |
Ditto
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_password.erl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rabbit_password.erl b/src/rabbit_password.erl index 823ab08d90..7bc1b28e21 100644 --- a/src/rabbit_password.erl +++ b/src/rabbit_password.erl @@ -56,11 +56,9 @@ hashing_mod(rabbit_password_hashing_sha256) -> rabbit_password_hashing_sha256; hashing_mod(rabbit_password_hashing_md5) -> rabbit_password_hashing_md5; -%% fall back to the hashing function that's been -%% used prior to 3.6.0 +%% fall back to the hashing function that's been used prior to 3.6.0 hashing_mod(undefined) -> rabbit_password_hashing_md5; -%% if a custom module is configured, -%% simply use it +%% if a custom module is configured, simply use it hashing_mod(CustomMod) when is_atom(CustomMod) -> CustomMod. |
