diff options
Diffstat (limited to 'apps/ca.c')
-rw-r--r-- | apps/ca.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2800,6 +2800,9 @@ char *make_revocation_str(int rev_type, char *rev_arg) revtm = X509_gmtime_adj(NULL, 0); + if (!revtm) + return NULL; + i = revtm->length + 1; if (reason) i += strlen(reason) + 1; |