[openssl-dev] [openssl.org #4504] Openssl cms encrypt bug.

Андрей Прокопьев via RT rt at openssl.org
Sat Apr 9 12:46:24 UTC 2016


Hi Team,

I tried to use cms commands from
https://www.openssl.org/docs/manmaster/apps/cms.html

Create an encrypted message using 128 bit Camellia:

 openssl cms -encrypt -in plain.txt -camellia128 -out mail.msg cert.pem


However if we use -seed insted of -camellia128, it will failed.

openssl cms -encrypt -in file1 -outform PEM -seed -out cms_temp.msg c03.pem
3074082492:error:2E078066:CMS
routines:cms_EncryptedContent_init_bio:cipher parameter initialisation
error:cms_enc.c:215:
3074082492:error:2E07F041:CMS routines:CMS_final:malloc failure:cms_smime.c:767:


Thanks,

Andrew

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4504
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list