Properly initialize optional subject in PEM builder.

This commit is contained in:
Tobias Brunner
2012-04-30 10:48:57 +02:00
parent 00d79edc20
commit 88206458ce
+1 -1
View File
@@ -482,7 +482,7 @@ static void *pem_load(credential_type_t type, int subtype, va_list args)
char *file = NULL;
int fd = -1;
chunk_t pem = chunk_empty;
identification_t *subject;
identification_t *subject = NULL;
int flags = 0;
while (TRUE)