diff options
author | Michael Tänzer <neo@nhng.de> | 2011-07-19 23:23:56 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2011-07-19 23:23:56 +0200 |
commit | a8ae57cb93783b7a786a821d484cd106820f8517 (patch) | |
tree | 96d08b7a13aaf11785b5d1160680c32df2bd3624 | |
parent | ad05aab44ae1995a9db6323785fe29402a1a5e69 (diff) | |
download | cacert-devel-a8ae57cb93783b7a786a821d484cd106820f8517.tar.gz cacert-devel-a8ae57cb93783b7a786a821d484cd106820f8517.tar.xz cacert-devel-a8ae57cb93783b7a786a821d484cd106820f8517.zip |
bug 911: Fix the regex to parse the output from gpg, sigclass seems to bebug-911
a hexadecimal number in newer versions
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rwxr-xr-x | CommModule/client.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CommModule/client.pl b/CommModule/client.pl index 7b417d1..690d947 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); |