Skip to content

Commit cca8cbe

Browse files
committed
Fixes #43 Do we need to override {INT} in this module?
1 parent ebff177 commit cca8cbe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/XML/Sig.pm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ use constant TRANSFORM_EXC_C14N_COMMENTS => 'http://www.w3.org/2001/10/xml-exc-c
126126

127127
sub DESTROY { }
128128

129-
$SIG{INT} = sub { die "Interrupted\n"; };
130-
131129
$| = 1; # autoflush
132130

133131

@@ -1596,7 +1594,7 @@ sub _load_key {
15961594
confess "Could not load key $file: $!";
15971595
}
15981596

1599-
return;
1597+
return undef;
16001598
}
16011599

16021600
##

0 commit comments

Comments
 (0)