26 lines
864 B
Diff
26 lines
864 B
Diff
|
From a5c7484a00b378290069ab57c1f2e52719cc91c0 Mon Sep 17 00:00:00 2001
|
||
|
From: Rob Crittenden <rcritten@redhat.com>
|
||
|
Date: Mon, 8 Oct 2018 14:48:43 -0400
|
||
|
Subject: [PATCH 22/25] Uninitialized variable
|
||
|
|
||
|
---
|
||
|
src/csrgen-o.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/csrgen-o.c b/src/csrgen-o.c
|
||
|
index 402284ff..41b4f014 100644
|
||
|
--- a/src/csrgen-o.c
|
||
|
+++ b/src/csrgen-o.c
|
||
|
@@ -181,7 +181,7 @@ cm_csrgen_o_main(int fd, struct cm_store_ca *ca, struct cm_store_entry *entry,
|
||
|
BIGNUM *serialbn;
|
||
|
char buf[LINE_MAX], *s, *nickname, *pin, *password, *filename;
|
||
|
unsigned char *extensions, *upassword, *bmp, *name, *up, *uq, md[CM_DIGEST_MAX];
|
||
|
- char *spkidec, *mcb64, *nows;
|
||
|
+ char *spkidec = NULL, *mcb64, *nows;
|
||
|
const char *default_cn = CM_DEFAULT_CERT_SUBJECT_CN, *spkihex = NULL;
|
||
|
const unsigned char *nametmp;
|
||
|
struct tm *now;
|
||
|
--
|
||
|
2.21.0
|
||
|
|