[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
This commit is contained in:
Petrik 2023-08-31 15:14:18 +02:00 коммит произвёл Hiroshi SHIBATA
Родитель 60a6de81a8
Коммит 9b6128c541
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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