ruby-changes:38780
From: hsbt <ko1@a...>
Date: Sat, 13 Jun 2015 11:39:01 +0900 (JST)
Subject: [ruby-changes:38780] hsbt:r50861 (trunk): * ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status.
hsbt 2015-06-13 11:38:46 +0900 (Sat, 13 Jun 2015) New Revision: 50861 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50861 Log: * ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status. [fix GH-932] Patch by @chrisholmes Modified files: trunk/ChangeLog trunk/ext/openssl/ossl_ocsp.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50860) +++ ChangeLog (revision 50861) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Jun 13 11:38:00 2015 SHIBATA Hiroshi <hsbt@r...> + + * ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status. + [fix GH-932] Patch by @chrisholmes + Sat Jun 13 11:35:19 2015 SHIBATA Hiroshi <hsbt@r...> * ext/bigdecimal/bigdecimal.gemspec: Fix require paths for released gem. Index: ext/openssl/ossl_ocsp.c =================================================================== --- ext/openssl/ossl_ocsp.c (revision 50860) +++ ext/openssl/ossl_ocsp.c (revision 50861) @@ -652,7 +652,7 @@ ossl_ocspbres_add_nonce(int argc, VALUE https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ocsp.c#L652 * call-seq: * basic_response.add_status(certificate_id, status, reason, revocation_time, this_update, next_update, extensions) -> basic_response * - * Adds a validation +status+ (0 for revoked, 1 for success) to this + * Adds a validation +status+ (0 for good, 1 for revoked, 2 for unknown) to this * response for +certificate_id+. +reason+ describes the reason for the * revocation, if any. * @@ -737,7 +737,7 @@ ossl_ocspbres_add_status(VALUE self, VAL https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ocsp.c#L737 * basic_response.status -> statuses * * Returns an Array of statuses for this response. Each status contains a - * CertificateId, the status (0 for success, 1 for revoked), the reason for + * CertificateId, the status (0 for good, 1 for revoked, 2 for unknown), the reason for * the status, the revocation time, the time of this update, the time for the * next update and a list of OpenSSL::X509::Extensions. */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/