Skip to content

Commit

Permalink
Small authkeyid & subkeyid fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Louise Doran committed Sep 4, 2009
1 parent d3d8dc2 commit 201e305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gfd125-ca.t
Expand Up @@ -130,7 +130,7 @@ for my $certfile(@certlist) {
else{
my $subkeyid = (join ":", map{sprintf "%X", ord($_)} split //, $$exts{'subjectKeyIdentifier'}->keyid_data());
my $authkeyid = (join ":", map{sprintf "%X", ord($_)} split //, $$exts{'authorityKeyIdentifier'}->keyid_data());;
like($authkeyid, qr/$subkeyid/, "The keyid of authorityKeyIdentifier should be the same as subjectKeyIdentifer (2.4.7)");
ok($authkeyid eq $subkeyid, "The keyid of authorityKeyIdentifier should be the same as subjectKeyIdentifer (2.4.7)");
}
# If AKID exists, only the keyIdentifier attribute should be included
$$exts{'authorityKeyIdentifier'} and
Expand Down

0 comments on commit 201e305

Please sign in to comment.