summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2023-07-29 15:52:00 +0200
committergregor herrmann <gregoa@debian.org>2023-07-29 15:52:00 +0200
commitae6443512a0fc0d449a6828164a19bb843c4c0fb (patch)
tree89cac84d4f4833f6f12e76627b32339b55415e32
parentf9d81149682d41bf9d81d30305964510b27b14f1 (diff)
parent37fad7b5ee3032ee286ab211cedd1b56157b404f (diff)
Update upstream source from tag 'upstream/0.20'
Update to upstream version '0.20' with Debian dir c2b409a4c42fe328832669aa624829b2946a90aa
-rwxr-xr-xChanges3
-rw-r--r--META.json8
-rw-r--r--META.yml4
-rwxr-xr-xPKCS10.pm2
-rwxr-xr-xPKCS10.xs12
5 files changed, 17 insertions, 12 deletions
diff --git a/Changes b/Changes
index 98d6f10..f6b8d96 100755
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Crypt::OpenSSL::PKCS10.
+0.20 Mon Jul 17 12:26:03 PM PDT 2023
+ - Fix #148807 (thanks Michal Josef Špaček)
+
0.19 Mon Mar 28 16:37:16 PDT 2022
- Fix #120728 (thanks Michal Josef Špaček)
diff --git a/META.json b/META.json
index e031425..aa47bf4 100644
--- a/META.json
+++ b/META.json
@@ -4,13 +4,13 @@
"JoNO <jonozzz@yahoo.com>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Crypt-OpenSSL-PKCS10",
"no_index" : {
@@ -51,6 +51,6 @@
"http://dev.perl.org/licenses/"
]
},
- "version" : "0.19",
- "x_serialization_backend" : "JSON::PP version 2.27400_02"
+ "version" : "0.20",
+ "x_serialization_backend" : "JSON::PP version 4.06"
}
diff --git a/META.yml b/META.yml
index b8734d5..aa64279 100644
--- a/META.yml
+++ b/META.yml
@@ -9,7 +9,7 @@ configure_requires:
Crypt::OpenSSL::Guess: '0.11'
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,5 +27,5 @@ resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Crypt-OpenSSL-PKCS10
homepage: https://metacpan.org/pod/Crypt::OpenSSL::PKCS10
license: http://dev.perl.org/licenses/
-version: '0.19'
+version: '0.20'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff --git a/PKCS10.pm b/PKCS10.pm
index ed53dc2..9281007 100755
--- a/PKCS10.pm
+++ b/PKCS10.pm
@@ -30,7 +30,7 @@ our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
#);
-our $VERSION = '0.19';
+our $VERSION = '0.20';
require XSLoader;
XSLoader::load('Crypt::OpenSSL::PKCS10', $VERSION);
diff --git a/PKCS10.xs b/PKCS10.xs
index e3735a0..b31d420 100755
--- a/PKCS10.xs
+++ b/PKCS10.xs
@@ -577,7 +577,7 @@ set_subject(pkcs10, subj_SV, utf8 = 0)
PREINIT:
unsigned char* subj;
- int subj_length;
+ STRLEN subj_length;
CODE:
subj = SvPV(subj_SV, subj_length);
@@ -597,7 +597,7 @@ add_ext(pkcs10, nid = NID_key_usage, ext_SV)
PREINIT:
unsigned char* ext;
- int ext_length;
+ STRLEN ext_length;
CODE:
ext = SvPV(ext_SV, ext_length);
@@ -621,7 +621,8 @@ add_custom_ext_raw(pkcs10, oid_SV, ext_SV)
PREINIT:
unsigned char* oid;
unsigned char* ext;
- int ext_length, nid;
+ STRLEN ext_length;
+ int nid;
CODE:
oid = SvPV(oid_SV, ext_length);
@@ -650,7 +651,8 @@ add_custom_ext(pkcs10, oid_SV, ext_SV)
PREINIT:
unsigned char* oid;
unsigned char* ext;
- int ext_length, nid;
+ STRLEN ext_length;
+ int nid;
CODE:
oid = SvPV(oid_SV, ext_length);
@@ -697,7 +699,7 @@ new_from_file(class, filename_SV)
PREINIT:
unsigned char* filename;
- int filename_length;
+ STRLEN filename_length;
FILE* fp;
X509_REQ *req;