diff options
| author | Zeev Suraski <zeev@php.net> | 1999-08-02 19:17:14 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-08-02 19:17:14 +0000 |
| commit | 3cb1eb047187d53688545ae6f64d4df880298e72 (patch) | |
| tree | 7fb20f178b9df5a33a83a2b7537f5614910697c0 /ext/mcrypt/mcrypt.c | |
| parent | 07e0885519ccabbd9cebfce7223be657171a6629 (diff) | |
| download | php-git-3cb1eb047187d53688545ae6f64d4df880298e72.tar.gz | |
Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
| -rw-r--r-- | ext/mcrypt/mcrypt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 574e254fcd..7c502979dc 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -85,7 +85,7 @@ static mcrypt_global_struct mcryptg; #define MCRYPT_CHECK_TD_CPY \ if(td == -1) { \ - php3_error(E_WARNING, MCRYPT_FAILED); \ + php_error(E_WARNING, MCRYPT_FAILED); \ RETURN_FALSE; \ } \ ndata = ecalloc(nr, bsize); \ @@ -94,7 +94,7 @@ static mcrypt_global_struct mcryptg; #define MCRYPT_CHECK_IV \ convert_to_string(iv); \ if(iv->value.str.len != bsize) { \ - php3_error(E_WARNING, MCRYPT_IV_WRONG_SIZE); \ + php_error(E_WARNING, MCRYPT_IV_WRONG_SIZE); \ RETURN_FALSE; \ } @@ -180,7 +180,7 @@ PHP_FUNCTION(mcrypt_create_iv) i = size->value.lval; if(i <= 0) { - php3_error(E_WARNING, "illegal size input parameter"); + php_error(E_WARNING, "illegal size input parameter"); RETURN_FALSE; } @@ -193,7 +193,7 @@ PHP_FUNCTION(mcrypt_create_iv) O_RDONLY); if(fd < 0) { efree(iv); - php3_error(E_WARNING, "cannot open source device"); + php_error(E_WARNING, "cannot open source device"); RETURN_FALSE; } read(fd, iv, i); |
