Skip to content

Commit

Permalink
Merge pull request h2o#1275 from h2o/kazuho/issues/1274
Browse files Browse the repository at this point in the history
fix OCSP stapling failure when LibreSSL ised used
  • Loading branch information
kazuho committed Apr 23, 2017
1 parent bdaef03 commit cdf3c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/h2o/fetch-ocsp-response
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if (! defined $issuer_fn) {
print STDERR "sending OCSP request to $ocsp_uri\n";
my $resp = run_openssl(
"ocsp -issuer $issuer_fn -cert $cert_fn -url $ocsp_uri"
. ($openssl_version =~ /^(OpenSSL 1\.|LibreSSL )/is ? " -header Host@{[$openssl_version =~ /^OpenSSL 1\.0\./is ? ' ' : '=']}$ocsp_host" : "")
. ($openssl_version =~ /^(OpenSSL 1\.|LibreSSL )/is ? " -header Host@{[$openssl_version =~ /^(OpenSSL 1\.0\.|LibreSSL )/is ? ' ' : '=']}$ocsp_host" : "")
. " -noverify -respout $tempdir/resp.der " . join(' ', @ARGV),
1,
);
Expand Down

0 comments on commit cdf3c79

Please sign in to comment.