summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/crypto/nss/nss_obfuscate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto/nss/nss_obfuscate.c b/src/util/crypto/nss/nss_obfuscate.c
index 69dbbf37..1c6eb1d7 100644
--- a/src/util/crypto/nss/nss_obfuscate.c
+++ b/src/util/crypto/nss/nss_obfuscate.c
@@ -272,7 +272,7 @@ int sss_password_encrypt(TALLOC_CTX *mem_ctx, const char *password, int plen,
}
ret = nss_encrypt_decrypt_init(tmp_ctx, mech_props, true,
- keybuf, ivbuf, &cctx);
+ ivbuf, keybuf, &cctx);
if (ret) {
goto done;
}