summaryrefslogtreecommitdiffstats
path: root/src/util/crypto/nss/nss_obfuscate.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-05-19 09:58:09 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-23 10:57:44 -0400
commit324fb26ba803a999bedc29e93c46c84f27abf5b7 (patch)
treed504009cdf1377ab791f69706c4e77f755ea65ad /src/util/crypto/nss/nss_obfuscate.c
parent7bdaf2a712d73763e7c3d25f6bb544b18f7028eb (diff)
downloadsssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.gz
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.xz
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.zip
Set _GNU_SOURCE globally
Diffstat (limited to 'src/util/crypto/nss/nss_obfuscate.c')
-rw-r--r--src/util/crypto/nss/nss_obfuscate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto/nss/nss_obfuscate.c b/src/util/crypto/nss/nss_obfuscate.c
index bd8688e65..cbd8984a2 100644
--- a/src/util/crypto/nss/nss_obfuscate.c
+++ b/src/util/crypto/nss/nss_obfuscate.c
@@ -183,13 +183,13 @@ done:
static int nss_encrypt_decrypt_init(TALLOC_CTX *mem_ctx,
struct crypto_mech_data *mech_props,
- bool encrypt,
+ bool do_encrypt,
struct sss_nss_crypto_ctx *cctx)
{
CK_ATTRIBUTE_TYPE op;
int ret;
- op = encrypt ? CKA_ENCRYPT : CKA_DECRYPT;
+ op = do_encrypt ? CKA_ENCRYPT : CKA_DECRYPT;
/* turn the raw key into a key object */
cctx->keyobj = PK11_ImportSymKey(cctx->slot, mech_props->cipher,