diff options
Diffstat (limited to 'src/rspamadm/pw.c')
-rw-r--r-- | src/rspamadm/pw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamadm/pw.c b/src/rspamadm/pw.c index 0fea5c359..7fe9d4a33 100644 --- a/src/rspamadm/pw.c +++ b/src/rspamadm/pw.c @@ -134,8 +134,8 @@ rspamadm_pw_encrypt (char *password) salt, pbkdf->salt_len, key, pbkdf->key_len, pbkdf->complexity, pbkdf->type); - encoded_salt = rspamd_encode_base32 (salt, pbkdf->salt_len); - encoded_key = rspamd_encode_base32 (key, pbkdf->key_len); + encoded_salt = rspamd_encode_base32 (salt, pbkdf->salt_len, RSPAMD_BASE32_DEFAULT); + encoded_key = rspamd_encode_base32 (key, pbkdf->key_len, RSPAMD_BASE32_DEFAULT); result = g_string_new (""); rspamd_printf_gstring (result, "$%d$%s$%s", pbkdf->id, encoded_salt, |