From 83444f2d9cbd882062b638d2334de9f802ce4767 Mon Sep 17 00:00:00 2001 From: weasel Date: Wed, 13 Jul 2005 14:18:04 +0000 Subject: [PATCH 1/1] Use /i instead of A-Fa-f in one place git-svn-id: svn://svn.debian.org/pgp-tools/trunk@128 b513b33f-fedd-0310-b452-c3deb5f4c849 --- caff/caff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caff/caff b/caff/caff index bd15a77..c4365e8 100755 --- a/caff/caff +++ b/caff/caff @@ -271,7 +271,7 @@ sub load_config() { die ("keyid is not defined.\n") unless defined $CONFIG{'keyid'}; die ("keyid is not an array ref\n") unless (ref $CONFIG{'keyid'} eq 'ARRAY'); for my $keyid (@{$CONFIG{'keyid'}}) { - $keyid =~ /^[A-Fa-f0-9]{16}$/ or die ("key $keyid is not a long (16 digit) keyid.\n"); + $keyid =~ /^[A-F0-9]{16}$/i or die ("key $keyid is not a long (16 digit) keyid.\n"); }; @{$CONFIG{'keyid'}} = map { uc } @{$CONFIG{'keyid'}}; $CONFIG{'export-sig-age'}= 24*60*60 unless defined $CONFIG{'export-sig-age'}; -- 2.39.5