summaryrefslogtreecommitdiffstats
path: root/src/util/crypto
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-09-09 15:06:21 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-15 11:46:33 -0400
commit6057958313bde8dc0f43dc97d2ba3e0897722382 (patch)
treed698fdb7877b4674a15fcd04015c649b58e4f0da /src/util/crypto
parentea38da18fdeff89c9b3241d39d66f82a32113416 (diff)
downloadsssd-6057958313bde8dc0f43dc97d2ba3e0897722382.tar.gz
sssd-6057958313bde8dc0f43dc97d2ba3e0897722382.tar.xz
sssd-6057958313bde8dc0f43dc97d2ba3e0897722382.zip
Fix parameter order when initializing decryption
Diffstat (limited to 'src/util/crypto')
-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 69dbbf37d..1c6eb1d7b 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;
}