Hello,

let me report a problem in OpenSSL 0.96 and 0.96a-beta1.
"openssl smime -sign" fails if the input is a pipe. For example

   echo test | openssl smime -sign -text -signer id.pem

does not include the string "test".

The reason for this problem is that we cannot fseek() a pipe.
fseek() is called from BIO_reset() at line 416 in apps/smime.c in
OpenSSL 0.96a-beta1.


The following is the output of "make report":

OpenSSL self-test report:

OpenSSL version:  0.9.6a-beta1
Last change:      Fix a memory leak in err.c: free err_data string if nec...
Options:          --prefix=/usr/local --openssldir=/usr/local
OS (uname):       Linux debian 2.4.2 #15 Sat Mar 3 23:23:10 JST 2001 i686 unknown
OS (config):      i686-whatever-linux2
Target (default): linux-elf
Target:           linux-elf
Compiler:         gcc version 2.95.2 20000220 (Debian GNU/Linux)

Test passed.



Regards,

Ryutaroh Matsumoto

smime.p7s

Reply via email to