From:             cbair at dragonmagic dot net
Operating system: Red Hat Linux/Cobalt RaQ3
PHP version:      4.3.2RC1
PHP Bug Type:     mcrypt related
Bug description:  Warning: mcrypt_decrypt(): The IV parameter must be as long as the 
blocksize

A payment script I wrote up for simplicity has worked throughout 4.2 and up
to 4.3.1. I recently installed 4.3.2RC1 on my RaQ3 server with mcrypt, and
now the payment script, upon trying to retrieve a credit card number,
reveals:

Warning: mcrypt_decrypt(): The IV parameter must be as long as the
blocksize

There have been no changes to the script since 4.2. It retrieves
information from a MySQL database, which also has not changed or been
upgraded, except extra rows added as people pay.

I cannot retrieve any payment information now with this. If you need
sample code, please let me know.
-- 
Edit bug report at http://bugs.php.net/?id=22828&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22828&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22828&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22828&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22828&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22828&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22828&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22828&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22828&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22828&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22828&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22828&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22828&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22828&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22828&r=gnused

Reply via email to