projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d7dfef
)
don't leave bogus errors in the queue
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 10 Mar 2010 13:48:35 +0000
(13:48 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 10 Mar 2010 13:48:35 +0000
(13:48 +0000)
apps/req.c
patch
|
blob
|
history
diff --git
a/apps/req.c
b/apps/req.c
index 314197de839b5f0eba6f5893459f84b6db0e29f2..9f55cdeabd4cff0c0014d6322fb5a34fc6e7e715 100644
(file)
--- 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))