summaryrefslogtreecommitdiff
path: root/SMIME.pl
diff options
context:
space:
mode:
authorFlorian Schlichting <fsfs@debian.org>2015-10-06 21:43:55 +0200
committerFlorian Schlichting <fsfs@debian.org>2015-10-06 21:43:55 +0200
commitef10219d94d3123e47a5ce8160d447e9bc6d90e5 (patch)
tree410e232cb079adf3a529aee27e0f818671eb112c /SMIME.pl
parent940530d4a13ef601ffd69208cf292ff854bc40a8 (diff)
Imported Upstream version 0.16
Diffstat (limited to 'SMIME.pl')
-rw-r--r--SMIME.pl18
1 files changed, 14 insertions, 4 deletions
diff --git a/SMIME.pl b/SMIME.pl
index c3242f1..9411b8b 100644
--- a/SMIME.pl
+++ b/SMIME.pl
@@ -1,13 +1,23 @@
package Crypt::SMIME;
use warnings;
use strict;
+use Exporter 'import';
+use XSLoader;
-our $VERSION = '0.15';
+our %EXPORT_TAGS = (
+ constants => [qw(
+ NO_CHECK_CERTIFICATE
-require XSLoader;
-XSLoader::load(__PACKAGE__, $VERSION);
+ FORMAT_ASN1
+ FORMAT_PEM
+ FORMAT_SMIME
+ )]
+ );
+Exporter::export_ok_tags('constants');
+
+our $VERSION = '0.16';
-__PACKAGE__->_init;
+XSLoader::load(__PACKAGE__, $VERSION);
1;