CVS update: php3/functions
| From: | timothy | Date: | Sat, 20 Feb 1999 03:01:33 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4170@lists.php.net to get a copy of this message | ||
Date: Friday February 19, 1999 @ 22:01
Author: timothy
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv29827/functions
Modified Files:
php3_mckcrypt.c
Log Message:
This fixes the problem where cybercash expects a null to be at the end of the
string when they decrypt it even though the decrypt function on their end
probably tells them the length.
Index: php3/functions/php3_mckcrypt.c
diff -c php3/functions/php3_mckcrypt.c:1.2 php3/functions/php3_mckcrypt.c:1.3
*** php3/functions/php3_mckcrypt.c:1.2 Wed Jan 27 14:18:13 1999
--- php3/functions/php3_mckcrypt.c Fri Feb 19 22:01:33 1999
***************
*** 88,94 ****
errcode=mck_encr(wmk->value.str.val,
sk->value.str.val,
! inbuff->value.str.len,
inbuff->value.str.val,
outAlloc,
outbuff,
--- 88,94 ----
errcode=mck_encr(wmk->value.str.val,
sk->value.str.val,
! inbuff->value.str.len+1,
inbuff->value.str.val,
outAlloc,
outbuff,
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net