[Pkg-privacy-commits] [msva-perl] 183/356: fix some broken syntax
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository msva-perl.
commit 5b147a90a7b48880744fe9ea8e8bb6691adc1a89
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Mon Oct 18 09:41:25 2010 -0400
fix some broken syntax
---
Crypt/Monkeysphere/MSVA/Client.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Crypt/Monkeysphere/MSVA/Client.pm b/Crypt/Monkeysphere/MSVA/Client.pm
index 751f5f5..d657a98 100644
--- a/Crypt/Monkeysphere/MSVA/Client.pm
+++ b/Crypt/Monkeysphere/MSVA/Client.pm
@@ -29,6 +29,7 @@
use Crypt::Monkeysphere::MSVA::Logger;
use LWP::UserAgent;
use HTTP::Request;
+ use Module::Load::Conditional;
sub log {
my $self = shift;
@@ -86,8 +87,9 @@
$self->log('debug', "pkctype: %s\n", $pkctype);
if ($pkctype eq 'x509der') {
- if $self->{logger}->is_logging_at('verbose') {
+ if ($self->{logger}->is_logging_at('verbose')) {
if (Module::Load::Conditional::can_load('modules' => { 'Crypt::X509' => undef })) {
+ require Crypt::X509;
my $cert = Crypt::X509->new(cert => $pkcdata);
if ($cert->error) {
$self->log('error', "failed to parse this X.509 cert before sending it to the agent\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git
More information about the Pkg-privacy-commits
mailing list