From: "davidbalbert (David Albert)" Date: 2012-05-21T02:17:24+09:00 Subject: [ruby-core:45155] [ruby-trunk - Bug #6475] Fix decryption example in OpenSSL docs Issue #6475 has been updated by davidbalbert (David Albert). File 0001-Fix-decryption-example-in-OpenSSL-docs.patch added Attached patch ---------------------------------------- Bug #6475: Fix decryption example in OpenSSL docs https://bugs.ruby-lang.org/issues/6475#change-26731 Author: davidbalbert (David Albert) Status: Open Priority: Normal Assignee: Category: DOC Target version: ruby -v: 1.9.3p194 The code example in the "Decryption" section of the OpenSSL docs shows ciphertext being decrypted with the same key used to encrypt it. Instead, decryption should be done with the other key in the pair. I've verified that the sample code in trunk does not work, and the sample code in the attached patch does work. -- http://bugs.ruby-lang.org/