summaryrefslogtreecommitdiff
path: root/ext/mcrypt/mcrypt.c
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2008-05-18 19:48:40 +0000
committerDavid Soria Parra <dsp@php.net>2008-05-18 19:48:40 +0000
commitfbc29e2848fd71f6ab362c644eefccbe48a8a06f (patch)
tree77b5eb1e608dd9f46302fc8132f73ec589e4294d /ext/mcrypt/mcrypt.c
parent472b883cc6834f3791fe037f69ec87c635d44d0c (diff)
downloadphp-git-fbc29e2848fd71f6ab362c644eefccbe48a8a06f.tar.gz
Revert.
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
-rw-r--r--ext/mcrypt/mcrypt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index 78e7d6f4fd..7cd8668918 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -589,12 +589,7 @@ PHP_FUNCTION(mcrypt_enc_get_supported_key_sizes)
PHP_FUNCTION(mcrypt_enc_self_test)
{
MCRYPT_GET_TD_ARG
-
- if (mcrypt_enc_self_test(pm->td) == 0) {
- RETURN_TRUE;
- } else {
- RETURN_FALSE;
- }
+ RETURN_LONG(mcrypt_enc_self_test(pm->td));
}
/* }}} */