Package: libcrypt-x509-perl
Version: 0.50-2
Severity: normal

The attached simple demonstration program produces a spurious warning
because of subroutines needlessly exported by Crypt::X509.

0 dkg@pip:~$ ./demo-new.pl 
Subroutine new redefined at ./demo-new.pl line 8.
0 dkg@pip:~$  

The documentation makes no claims that it will export any subroutines
by default, but X509.pm contains:

our @EXPORT      = qw(error new not_before not_after serial);

I believe these should be removed from @EXPORT.  

  --dkg

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcrypt-x509-perl depends on:
ii  libconvert-asn1-perl          0.22-1     Perl module for encoding and decod
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 

libcrypt-x509-perl recommends no packages.

libcrypt-x509-perl suggests no packages.

-- no debconf information
#!/usr/bin/perl -w

use warnings;
use strict;

use Crypt::X509;

sub new {
  return 4;
}

1;

Reply via email to