Project

General

Profile

Actions

Bug #6475

closed

Fix decryption example in OpenSSL docs

Added by davidbalbert (David Albert) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
1.9.3p194
Backport:
[ruby-core:45154]

Description

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.


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0