diff options
author | Bob Relyea <rrelyea@redhat.com> | 2013-06-17 14:31:28 -0700 |
---|---|---|
committer | Bob Relyea <rrelyea@redhat.com> | 2013-06-17 14:31:28 -0700 |
commit | 749404f5dbd680ea8f778ca45bcf96a12ee52439 (patch) | |
tree | 16855c3c41a909fd84f81eca6e6f45861a03f37a | |
parent | 8ea1963f4099b4d5b19d563e511e9a3d42c639af (diff) | |
download | nss-hg-749404f5dbd680ea8f778ca45bcf96a12ee52439.tar.gz |
Fix uninitialized variable.
patch by mbartos@redhat.com
r+ bsmith
Bug 872447 - [patch] cmd/p7sign/p7sign.c:260 use of unitialized variable cert
-rw-r--r-- | cmd/p7sign/p7sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/p7sign/p7sign.c b/cmd/p7sign/p7sign.c index 1b93a8981..d41e1c762 100644 --- a/cmd/p7sign/p7sign.c +++ b/cmd/p7sign/p7sign.c @@ -148,7 +148,7 @@ main(int argc, char **argv) PRFileDesc *inFile; char *keyName = NULL; CERTCertDBHandle *certHandle; - CERTCertificate *cert; + CERTCertificate *cert = NULL; PRBool encapsulated = PR_FALSE; PLOptState *optstate; PLOptStatus status; |