Skip to content

Commit 1d4e756

Browse files
committed
Fix determination of aes_gcm for xmlsec1
1 parent d3b91e8 commit 1d4e756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/lib/Test/XML/Enc/Util.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sub get_xmlsec_features {
5151
minor => $minor,
5252
patch => $patch,
5353
ripemd160 => ($major >= 1 and $minor >= 3) ? 1 : 0,
54-
aes_gcm => ($major >= 1 and $minor >= 2 and $patch >= 27) ? 1 : 0,
54+
aes_gcm => ($major <= 1 and $minor <= 2 and $patch <= 27) ? 0 : 1,
5555
lax_key_search => ($major >= 1 and $minor >= 3) ? 1 : 0,
5656
);
5757
return \%xmlsec;

0 commit comments

Comments
 (0)