Commit 7d104204 authored by Ad Schellevis's avatar Ad Schellevis Committed by GitHub

Merge pull request #1096 from fraenki/certfield_crl

allow to use CRLs with CertificateField
parents e7cb49b8 b95a654c
...@@ -73,6 +73,8 @@ class CertificateField extends BaseField ...@@ -73,6 +73,8 @@ class CertificateField extends BaseField
{ {
if (trim(strtolower($value)) == "ca") { if (trim(strtolower($value)) == "ca") {
$this->certificateType = "ca"; $this->certificateType = "ca";
} elseif (trim(strtolower($value)) == "crl") {
$this->certificateType = "crl";
} else { } else {
$this->certificateType = "cert"; $this->certificateType = "cert";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment