diff options
author | Petrik <[email protected]> | 2023-08-31 15:14:18 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-09-06 19:26:27 +0900 |
commit | 9b6128c541386d6e375723bb9eb4161854d72112 (patch) | |
tree | fe505695f7883e7dc2d449ed243a09a3548e24c9 /ext/openssl/ossl_ocsp.c | |
parent | 60a6de81a823cdb932d21fa5869c93853d3f2795 (diff) |
[ruby/openssl] Fix OCSP documentation
`port` should be called on the `ocsp_uri` URI instead of `ocsp`, which
is just a string.
https://github.com/ruby/openssl/commit/89a1c82dd0
Diffstat (limited to 'ext/openssl/ossl_ocsp.c')
-rw-r--r-- | ext/openssl/ossl_ocsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_ocsp.c b/ext/openssl/ossl_ocsp.c index 82f80d4a88..df986bb3ee 100644 --- a/ext/openssl/ossl_ocsp.c +++ b/ext/openssl/ossl_ocsp.c @@ -1701,7 +1701,7 @@ Init_ossl_ocsp(void) * require 'net/http' * * http_response = - * Net::HTTP.start ocsp_uri.hostname, ocsp.port do |http| + * Net::HTTP.start ocsp_uri.hostname, ocsp_uri.port do |http| * http.post ocsp_uri.path, request.to_der, * 'content-type' => 'application/ocsp-request' * end |