[njs] Tests: compatibility with "openssl" app from OpenSSL 3.2.0.

noreply at nginx.com noreply at nginx.com
Mon Jun 10 22:15:04 UTC 2024


details:   https://hg.nginx.org/njs/rev/23538ab89e41
branches:  
changeset: 2353:23538ab89e41
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Thu Jun 06 14:54:45 2024 -0700
description:
Tests: compatibility with "openssl" app from OpenSSL 3.2.0.

diffstat:

 nginx/t/js_fetch_https.t        |  3 +++
 nginx/t/stream_js_fetch_https.t |  3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diffs (28 lines):

diff -r d67e5b627677 -r 23538ab89e41 nginx/t/js_fetch_https.t
--- a/nginx/t/js_fetch_https.t	Thu Jun 06 23:10:12 2024 -0700
+++ b/nginx/t/js_fetch_https.t	Thu Jun 06 14:54:45 2024 -0700
@@ -126,7 +126,10 @@ my $d = $t->testdir();
 default_bits = 2048
 encrypt_key = no
 distinguished_name = req_distinguished_name
+x509_extensions = myca_extensions
 [ req_distinguished_name ]
+[ myca_extensions ]
+basicConstraints = critical,CA:TRUE
 EOF
 
 $t->write_file('myca.conf', <<EOF);
diff -r d67e5b627677 -r 23538ab89e41 nginx/t/stream_js_fetch_https.t
--- a/nginx/t/stream_js_fetch_https.t	Thu Jun 06 23:10:12 2024 -0700
+++ b/nginx/t/stream_js_fetch_https.t	Thu Jun 06 14:54:45 2024 -0700
@@ -203,7 +203,10 @@ my $d = $t->testdir();
 default_bits = 2048
 encrypt_key = no
 distinguished_name = req_distinguished_name
+x509_extensions = myca_extensions
 [ req_distinguished_name ]
+[ myca_extensions ]
+basicConstraints = critical,CA:TRUE
 EOF
 
 $t->write_file('myca.conf', <<EOF);


More information about the nginx-devel mailing list