From: <iro...@us...> - 2004-02-16 04:48:03
|
Update of /cvsroot/perl-openssl/Crypt/OpenSSL/RSA In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8902 Modified Files: RSA.pm Log Message: remove unused constants, which removes the need for Exporter Index: RSA.pm =================================================================== RCS file: /cvsroot/perl-openssl/Crypt/OpenSSL/RSA/RSA.pm,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** RSA.pm 16 Feb 2004 03:58:26 -0000 1.33 --- RSA.pm 16 Feb 2004 04:40:15 -0000 1.34 *************** *** 4,18 **** use Carp; ! use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD ! $RSA_PKCS1_PADDING $RSA_SSLV23_PADDING $RSA_NO_PADDING ! $RSA_PKCS1_OAEP_PADDING); - require Exporter; require DynaLoader; require AutoLoader; ! @ISA = qw(Exporter DynaLoader); ! @EXPORT = qw($RSA_PKCS1_PADDING $RSA_SSLV23_PADDING $RSA_NO_PADDING ! $RSA_PKCS1_OAEP_PADDING); $VERSION = '0.21'; --- 4,13 ---- use Carp; ! use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD); require DynaLoader; require AutoLoader; ! @ISA = qw(DynaLoader); $VERSION = '0.21'; *************** *** 20,30 **** bootstrap Crypt::OpenSSL::RSA $VERSION; - # taken from openssl/rsa.h - - $RSA_PKCS1_PADDING = 1; - $RSA_SSLV23_PADDING = 2; - $RSA_NO_PADDING = 3; - $RSA_PKCS1_OAEP_PADDING = 4; - BEGIN { eval { require Crypt::OpenSSL::Bignum; }; } --- 15,18 ---- |