[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-dev
Subject:    [openssl.org #2018] BUG: rsautl reports "RSA operation error" when decryption output is empty
From:       "Dov Murik via RT" <rt () openssl ! org>
Date:       2009-08-23 13:27:38
Message-ID: rt-3.4.5-48083-1251034057-430.2018-21-0 () openssl ! org
[Download RAW message or body]

Dear all,

If one encrypts an empty string with RSA (say in a C/Perl/Ruby  
program), and then tries to decrypt it using the command-line  
application rsautl, the decryption output is a zero-length file (as it  
should be) but rsautl also prints: "RSA operation error".

In this specific case it's not an error, it simply is an empty output  
string. Maybe rsautl should print a special warning message for this  
case.

This happens on openssl-0.9.8k on Mac, Linux and Windows XP.

Best,

Dov Murik

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic