diff options
author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2010-04-01 12:25:40 +0000 |
---|---|---|
committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2010-04-01 12:25:40 +0000 |
commit | 0cedaa6c89235ed396068f2ebf546c9a909439e1 (patch) | |
tree | ea91d9b180fa36b1886b046a286630c089f57475 /apps/req.c | |
parent | f7a1b4761cf3f798e1b42d703d38221b47ce1eec (diff) |
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/req.c b/apps/req.c index 314197de839b5..9f55cdeabd4cf 100644 --- a/apps/req.c +++ b/apps/req.c @@ -1433,11 +1433,17 @@ start2: for (;;) BIO_snprintf(buf,sizeof buf,"%s_min",type); if (!NCONF_get_number(req_conf,attr_sect,buf, &n_min)) + { + ERR_clear_error(); n_min = -1; + } BIO_snprintf(buf,sizeof buf,"%s_max",type); if (!NCONF_get_number(req_conf,attr_sect,buf, &n_max)) + { + ERR_clear_error(); n_max = -1; + } if (!add_attribute_object(req, v->value,def,value,nid,n_min,n_max, chtype)) |