aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-01-12 00:47:53 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-01-12 00:47:53 +0100
commitafeab858d42a5c73553bc9aa859c0ff512057f7a (patch)
tree8356f8b2de6071d4c04f8ab4e3d2a9e0c93a4872
parente62fbd248923162673a77112ef6836ad2e91583d (diff)
check-certificates: strip prefix from issuer CN
-rw-r--r--check-certificates2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-certificates b/check-certificates
index 7ae33ab..290fd0d 100644
--- a/check-certificates
+++ b/check-certificates
@@ -13,7 +13,7 @@
:local GetIssuerCN do={
:foreach IssuerI in=$1 do={
:if ([ :pick $IssuerI 0 3 ] = "CN=") do={
- :return $IssuerI;
+ :return [ :pick $IssuerI 3 99 ];
}
}
}