(hx509_ca_tbs_set_proxy): allow negative pathLenConstraint to signal no limit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19681 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -126,12 +126,6 @@ hx509_ca_tbs_set_proxy(hx509_context context,
|
||||
hx509_ca_tbs tbs,
|
||||
int pathLenConstraint)
|
||||
{
|
||||
if (pathLenConstraint < 0) {
|
||||
hx509_set_error_string(context, 0, EINVAL,
|
||||
"PathLenConstraint must be larger then zero "
|
||||
"for proxy certificates");
|
||||
return EINVAL;
|
||||
}
|
||||
tbs->flags.proxy = 1;
|
||||
tbs->pathLenConstraint = pathLenConstraint;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user