Skip to content

Commit

Permalink
Item12180: One more perlcritic issue - thanks George, sharp eyes!
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@16228 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
TimotheLitt authored and TimotheLitt committed Dec 16, 2012
1 parent ae1e53d commit 8653127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Foswiki/Net.pm
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,8 @@ sub _smimeSignMessage {
&& length $Foswiki::cfg{Email}{SmimeKeyPassword}
&& $key =~ /^-----BEGIN RSA PRIVATE KEY-----\n(?:(.*?\n)\n)?/s )
{
my %h = map { split( /:\s*/, $_, 2 ) } split( /\n/, $1 )
my %h;
%h = map { split( /:\s*/, $_, 2 ) } split( /\n/, $1 )
if ( defined $1 );
if ( $h{'Proc-Type'}
&& $h{'Proc-Type'} eq '4,ENCRYPTED'
Expand Down

0 comments on commit 8653127

Please sign in to comment.