On Mon, Oct 14, 2002, Jan Mikosiński wrote:
> Hi
> I try to implement simple message support in compatible with pkcs#7
> standard.
> I use OpenSSL ver 0.9.6g. I encrypt data with PKCS7_encrypt and decrypt
> with PKCS7_decrypt functions and i've got a little problem.
> The length of the data to be encrypted is 2951B . I encrypt this data and
> next decrypt it , but the length of decrypted data is 2962B. The flags
> parameter i n both functions I pass 0 (zero).
> I dont know why do I get this length difrence. Does anybody have any
> suggestion to resolve my problem ?
>
This function is documented in newer 0.9.7 snapshots. It looks like you
need the PKCS7_BINARY flag.
--
Dr. Stephen Henson [EMAIL PROTECTED]
OpenSSL Project http://www.openssl.org/~steve/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]