diff options
Diffstat (limited to 'src/pki/commands')
-rw-r--r-- | src/pki/commands/issue.c | 2 | ||||
-rw-r--r-- | src/pki/commands/print.c | 2 | ||||
-rw-r--r-- | src/pki/commands/self.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/pki/commands/issue.c b/src/pki/commands/issue.c index 62fe0185d..e29015981 100644 --- a/src/pki/commands/issue.c +++ b/src/pki/commands/issue.c @@ -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; diff --git a/src/pki/commands/print.c b/src/pki/commands/print.c index 23fb644e1..dd17a0ab8 100644 --- a/src/pki/commands/print.c +++ b/src/pki/commands/print.c @@ -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); } diff --git a/src/pki/commands/self.c b/src/pki/commands/self.c index 134231dca..72ade4946 100644 --- a/src/pki/commands/self.c +++ b/src/pki/commands/self.c @@ -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; |