diff options
| author | tb <> | 2021-09-09 12:14:22 +0000 |
|---|---|---|
| committer | tb <> | 2021-09-09 12:14:22 +0000 |
| commit | e8c23b1b7f50ad94aa1fb993ecccd171a1e461ce (patch) | |
| tree | 9b77b0e53317cf352edc9bab789cecafdfb63906 /src | |
| parent | 09dc01256be118ca20e96739a541aa5ab2337cb2 (diff) | |
| download | openbsd-e8c23b1b7f50ad94aa1fb993ecccd171a1e461ce.tar.gz openbsd-e8c23b1b7f50ad94aa1fb993ecccd171a1e461ce.tar.bz2 openbsd-e8c23b1b7f50ad94aa1fb993ecccd171a1e461ce.zip | |
zap trailing whitespace
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libssl/verify/create-libressl-test-certs.pl | 14 | ||||
| -rwxr-xr-x | src/regress/usr.bin/openssl/x509/create-libressl-test-certs.pl | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/regress/lib/libssl/verify/create-libressl-test-certs.pl b/src/regress/lib/libssl/verify/create-libressl-test-certs.pl index fdb718aadc..f38494966e 100644 --- a/src/regress/lib/libssl/verify/create-libressl-test-certs.pl +++ b/src/regress/lib/libssl/verify/create-libressl-test-certs.pl | |||
| @@ -21,10 +21,10 @@ my @leafcert = cert( | |||
| 21 | issuer => \@ca, | 21 | issuer => \@ca, |
| 22 | purpose => 'server', | 22 | purpose => 'server', |
| 23 | subject => { CN => 'server.local' }, | 23 | subject => { CN => 'server.local' }, |
| 24 | subjectAltNames => [ | 24 | subjectAltNames => [ |
| 25 | [ DNS => 'bar.server.local' ], | 25 | [ DNS => 'bar.server.local' ], |
| 26 | [ DNS => 'www*.server.local'], | 26 | [ DNS => 'www*.server.local'], |
| 27 | [ DNS => '*.www.server.local'], | 27 | [ DNS => '*.www.server.local'], |
| 28 | [ DNS => 'foo.server.local' ], | 28 | [ DNS => 'foo.server.local' ], |
| 29 | [ DNS => 'server.local' ], | 29 | [ DNS => 'server.local' ], |
| 30 | ] | 30 | ] |
| @@ -35,9 +35,9 @@ out('server-unusual-wildcard.pem', pem(@leafcert)); | |||
| 35 | issuer => \@ca, | 35 | issuer => \@ca, |
| 36 | purpose => 'server', | 36 | purpose => 'server', |
| 37 | subject => { CN => 'server.local' }, | 37 | subject => { CN => 'server.local' }, |
| 38 | subjectAltNames => [ | 38 | subjectAltNames => [ |
| 39 | [ DNS => 'bar.server.local' ], | 39 | [ DNS => 'bar.server.local' ], |
| 40 | [ DNS => '*.www.server.local'], | 40 | [ DNS => '*.www.server.local'], |
| 41 | [ DNS => 'foo.server.local' ], | 41 | [ DNS => 'foo.server.local' ], |
| 42 | [ DNS => 'server.local' ], | 42 | [ DNS => 'server.local' ], |
| 43 | ] | 43 | ] |
| @@ -76,7 +76,7 @@ out('chainSX.pem', pem($subcaR[0]), pem($caX[0])); | |||
| 76 | issuer => \@subcaR, | 76 | issuer => \@subcaR, |
| 77 | purpose => 'server', | 77 | purpose => 'server', |
| 78 | subject => { CN => 'server.subca.local' }, | 78 | subject => { CN => 'server.subca.local' }, |
| 79 | subjectAltNames => [ | 79 | subjectAltNames => [ |
| 80 | [ DNS => 'server.subca.local' ], | 80 | [ DNS => 'server.subca.local' ], |
| 81 | ] | 81 | ] |
| 82 | ); | 82 | ); |
| @@ -103,7 +103,7 @@ sub pem { | |||
| 103 | } | 103 | } |
| 104 | return $result; | 104 | return $result; |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | sub out { | 107 | sub out { |
| 108 | my $file = shift; | 108 | my $file = shift; |
| 109 | open(my $fh,'>',"$file") or die "failed to create $file: $!"; | 109 | open(my $fh,'>',"$file") or die "failed to create $file: $!"; |
diff --git a/src/regress/usr.bin/openssl/x509/create-libressl-test-certs.pl b/src/regress/usr.bin/openssl/x509/create-libressl-test-certs.pl index fdb718aadc..f38494966e 100755 --- a/src/regress/usr.bin/openssl/x509/create-libressl-test-certs.pl +++ b/src/regress/usr.bin/openssl/x509/create-libressl-test-certs.pl | |||
| @@ -21,10 +21,10 @@ my @leafcert = cert( | |||
| 21 | issuer => \@ca, | 21 | issuer => \@ca, |
| 22 | purpose => 'server', | 22 | purpose => 'server', |
| 23 | subject => { CN => 'server.local' }, | 23 | subject => { CN => 'server.local' }, |
| 24 | subjectAltNames => [ | 24 | subjectAltNames => [ |
| 25 | [ DNS => 'bar.server.local' ], | 25 | [ DNS => 'bar.server.local' ], |
| 26 | [ DNS => 'www*.server.local'], | 26 | [ DNS => 'www*.server.local'], |
| 27 | [ DNS => '*.www.server.local'], | 27 | [ DNS => '*.www.server.local'], |
| 28 | [ DNS => 'foo.server.local' ], | 28 | [ DNS => 'foo.server.local' ], |
| 29 | [ DNS => 'server.local' ], | 29 | [ DNS => 'server.local' ], |
| 30 | ] | 30 | ] |
| @@ -35,9 +35,9 @@ out('server-unusual-wildcard.pem', pem(@leafcert)); | |||
| 35 | issuer => \@ca, | 35 | issuer => \@ca, |
| 36 | purpose => 'server', | 36 | purpose => 'server', |
| 37 | subject => { CN => 'server.local' }, | 37 | subject => { CN => 'server.local' }, |
| 38 | subjectAltNames => [ | 38 | subjectAltNames => [ |
| 39 | [ DNS => 'bar.server.local' ], | 39 | [ DNS => 'bar.server.local' ], |
| 40 | [ DNS => '*.www.server.local'], | 40 | [ DNS => '*.www.server.local'], |
| 41 | [ DNS => 'foo.server.local' ], | 41 | [ DNS => 'foo.server.local' ], |
| 42 | [ DNS => 'server.local' ], | 42 | [ DNS => 'server.local' ], |
| 43 | ] | 43 | ] |
| @@ -76,7 +76,7 @@ out('chainSX.pem', pem($subcaR[0]), pem($caX[0])); | |||
| 76 | issuer => \@subcaR, | 76 | issuer => \@subcaR, |
| 77 | purpose => 'server', | 77 | purpose => 'server', |
| 78 | subject => { CN => 'server.subca.local' }, | 78 | subject => { CN => 'server.subca.local' }, |
| 79 | subjectAltNames => [ | 79 | subjectAltNames => [ |
| 80 | [ DNS => 'server.subca.local' ], | 80 | [ DNS => 'server.subca.local' ], |
| 81 | ] | 81 | ] |
| 82 | ); | 82 | ); |
| @@ -103,7 +103,7 @@ sub pem { | |||
| 103 | } | 103 | } |
| 104 | return $result; | 104 | return $result; |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | sub out { | 107 | sub out { |
| 108 | my $file = shift; | 108 | my $file = shift; |
| 109 | open(my $fh,'>',"$file") or die "failed to create $file: $!"; | 109 | open(my $fh,'>',"$file") or die "failed to create $file: $!"; |
