Project

General

Profile

Actions

Bug #5604

closed

Remove extra ":" in errors created by ossl_raise

Added by drbrain (Eric Hodel) about 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
-
Backport:
[ruby-core:40896]

Description

Callers of ossl_raise do not need to provide a ":" at the end of the error string because ossl_raise calls ossl_make_error which will add the ":" if necessary.

Without this patch some OpenSSL errors look like "SSL_CTX_set_cipher_list:: no cipher match (OpenSSL::SSL::SSLError)"

This patch removes the extra ":" added by callers of osl_raise so errors look like "SSL_CTX_set_cipher_list: no cipher match (OpenSSL::SSL::SSLError)".


Files

openssl.remove_colon_in_ossl_raise.patch (4.1 KB) openssl.remove_colon_in_ossl_raise.patch drbrain (Eric Hodel), 11/10/2011 08:37 AM
Actions #1

Updated by Anonymous about 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r33821.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ext/openssl/ossl_pkey_dsa.c: remove redundant colon from error
    message.
  • ext/openssl/ossl_ssl.c: ditto.
  • ext/openssl/ossl_pkey_rsa: ditto.
    [Bug #5604] [ruby-core:40896]
Actions

Also available in: Atom PDF

Like0
Like0