Skip to content

Commit

Permalink
Merge pull request #439 from kamipo/fix_typos
Browse files Browse the repository at this point in the history
Fix some typos [ci skip]
  • Loading branch information
rhenium authored Apr 25, 2021
2 parents c310840 + 51b3030 commit 964d836
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ext/openssl/ossl.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ ossl_debug_get(VALUE self)
* call-seq:
* OpenSSL.debug = boolean -> boolean
*
* Turns on or off debug mode. With debug mode, all erros added to the OpenSSL
* Turns on or off debug mode. With debug mode, all errors added to the OpenSSL
* error queue will be printed to stderr.
*/
static VALUE
Expand Down
4 changes: 2 additions & 2 deletions ext/openssl/ossl_ocsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ossl_ocspcertid_new(OCSP_CERTID *cid)
}

/*
* OCSP::Resquest
* OCSP::Request
*/
static VALUE
ossl_ocspreq_alloc(VALUE klass)
Expand Down Expand Up @@ -1739,7 +1739,7 @@ Init_ossl_ocsp(void)
* single_response = basic_response.find_response(certificate_id)
*
* unless single_response
* raise 'basic_response does not have the status for the certificiate'
* raise 'basic_response does not have the status for the certificate'
* end
*
* Then check the validity. A status issued in the future must be rejected.
Expand Down
2 changes: 1 addition & 1 deletion ext/openssl/ossl_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ ossl_sslctx_enable_fallback_scsv(VALUE self)

/*
* call-seq:
* ctx.add_certificate(certiticate, pkey [, extra_certs]) -> self
* ctx.add_certificate(certificate, pkey [, extra_certs]) -> self
*
* Adds a certificate to the context. _pkey_ must be a corresponding private
* key with _certificate_.
Expand Down

0 comments on commit 964d836

Please sign in to comment.