diff options
author | Rob Austein <sra@hactrn.net> | 2011-10-27 16:03:56 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-10-27 16:03:56 +0000 |
commit | 44ce2f983e3748a80b63b42df86a8c206ab4a600 (patch) | |
tree | a24d88417682839002d02c03670dd176ba23edda /rcynic/rcynic.c | |
parent | e6bc745b0293903b9433e4808c7e592880b78d84 (diff) |
Doh, rc->validation_status isn't just for XML anymore.
svn path=/trunk/; revision=4067
Diffstat (limited to 'rcynic/rcynic.c')
-rw-r--r-- | rcynic/rcynic.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/rcynic/rcynic.c b/rcynic/rcynic.c index 02916089..67e79379 100644 --- a/rcynic/rcynic.c +++ b/rcynic/rcynic.c @@ -4525,11 +4525,9 @@ int main(int argc, char *argv[]) goto done; } - if (xmlfile != NULL) { - if ((rc.validation_status = sk_validation_status_t_new(validation_status_cmp_uri)) == NULL) { - logmsg(&rc, log_sys_err, "Couldn't allocate validation_status stack"); - goto done; - } + if ((rc.validation_status = sk_validation_status_t_new(validation_status_cmp_uri)) == NULL) { + logmsg(&rc, log_sys_err, "Couldn't allocate validation_status stack"); + goto done; } if ((rc.x509_store = X509_STORE_new()) == NULL) { |