diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-09-09 15:06:21 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-15 11:46:33 -0400 |
commit | 6057958313bde8dc0f43dc97d2ba3e0897722382 (patch) | |
tree | d698fdb7877b4674a15fcd04015c649b58e4f0da /src/util/crypto | |
parent | ea38da18fdeff89c9b3241d39d66f82a32113416 (diff) | |
download | sssd-6057958313bde8dc0f43dc97d2ba3e0897722382.tar.gz sssd-6057958313bde8dc0f43dc97d2ba3e0897722382.tar.bz2 sssd-6057958313bde8dc0f43dc97d2ba3e0897722382.zip |
Fix parameter order when initializing decryption
Diffstat (limited to 'src/util/crypto')
-rw-r--r-- | src/util/crypto/nss/nss_obfuscate.c | 2 |
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; } |