summaryrefslogtreecommitdiff
path: root/CommModule
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-08-21 02:07:40 +0200
committerMichael Tänzer <neo@nhng.de>2011-08-21 02:07:40 +0200
commitce4bfbaf0c2babb5bba2568d3b8712e1615aa651 (patch)
treebcdd82ada2066eff6fc21f6dfc2fe01844f1550f /CommModule
parent983a7dced2bc15cfb5760b81659bc72fb39b2567 (diff)
downloadcacert-devel-ce4bfbaf0c2babb5bba2568d3b8712e1615aa651.tar.gz
cacert-devel-ce4bfbaf0c2babb5bba2568d3b8712e1615aa651.tar.xz
cacert-devel-ce4bfbaf0c2babb5bba2568d3b8712e1615aa651.zip
Source code taken from cacert-20110820.tar.bz2
Diffstat (limited to 'CommModule')
-rwxr-xr-xCommModule/client.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommModule/client.pl b/CommModule/client.pl
index 4e09c46..323ee27 100755
--- a/CommModule/client.pl
+++ b/CommModule/client.pl
@@ -540,7 +540,7 @@ sub OpenPGPextractExpiryDate ($)
print OUT $_;
unless ($r)
{
- if ( /^\s*version \d+, created (\d+), md5len 0, sigclass \d+\s*$/ )
+ if ( /^\s*version \d+, created (\d+), md5len 0, sigclass (?:0x[0-9a-fA-F]+|\d+)\s*$/ )
{
SysLog "Detected CTS: $1\n";
$cts = int($1);