26 lines
870 B
Diff
26 lines
870 B
Diff
From a5fef9f676334c6b373f9739a2687dc64ad2c0c0 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/26] 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 55b0a598..7ca7065d 100644
|
|
--- a/src/csrgen-o.c
|
|
+++ b/src/csrgen-o.c
|
|
@@ -94,7 +94,7 @@ cm_csrgen_o_main(int fd, struct cm_store_ca *ca, struct cm_store_entry *entry,
|
|
BIGNUM *serialbn;
|
|
char buf[LINE_MAX], *p, *q, *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.14.4
|
|
|