summaryrefslogtreecommitdiff
path: root/src/util/crypto/nss
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-01-21 22:04:37 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-01-21 16:20:15 -0500
commit911c75f1555742d78568635f1bc0549116eabd4a (patch)
treeb0459e75dcc3e3576c305ee81d194ff97a9c5c22 /src/util/crypto/nss
parenteaee7fa08b609215fcb1aa04db5ec5683d4d3d0b (diff)
downloadsssd-911c75f1555742d78568635f1bc0549116eabd4a.tar.gz
sssd-911c75f1555742d78568635f1bc0549116eabd4a.tar.bz2
sssd-911c75f1555742d78568635f1bc0549116eabd4a.zip
Fix uninitialized value error
Diffstat (limited to 'src/util/crypto/nss')
-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 a14284e8..bd8688e6 100644
--- a/src/util/crypto/nss/nss_obfuscate.c
+++ b/src/util/crypto/nss/nss_obfuscate.c
@@ -90,7 +90,7 @@ static int generate_random_key(TALLOC_CTX *mem_ctx,
{
SECStatus sret;
SECItem *randkeydata;
- SECItem *key;
+ SECItem *key = NULL;
PK11SymKey *randkey;
int ret;