Slightly renamed X509_NO_PATH_LEN_CONSTRAINT to use it for PolicyConstraints, too

This commit is contained in:
Martin Willi
2011-01-05 16:46:02 +01:00
parent 3ffc9d9a88
commit 5dba5852fc
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ static int issue()
identification_t *id = NULL, *crl_issuer = NULL;;
linked_list_t *san, *cdps, *ocsp, *permitted, *excluded, *policies, *mappings;
int lifetime = 1095;
int pathlen = X509_NO_PATH_LEN_CONSTRAINT;
int pathlen = X509_NO_CONSTRAINT;
chunk_t serial = chunk_empty;
chunk_t encoding = chunk_empty;
time_t not_before, not_after;
+1 -1
View File
@@ -176,7 +176,7 @@ static void print_x509(x509_t *x509)
enumerator->destroy(enumerator);
len = x509->get_pathLenConstraint(x509);
if (len != X509_NO_PATH_LEN_CONSTRAINT)
if (len != X509_NO_CONSTRAINT)
{
printf("pathlen: %d\n", len);
}
+1 -1
View File
@@ -56,7 +56,7 @@ static int self()
identification_t *id = NULL;
linked_list_t *san, *ocsp, *permitted, *excluded, *policies, *mappings;
int lifetime = 1095;
int pathlen = X509_NO_PATH_LEN_CONSTRAINT;
int pathlen = X509_NO_CONSTRAINT;
chunk_t serial = chunk_empty;
chunk_t encoding = chunk_empty;
time_t not_before, not_after;