~l3on/ubuntu/trusty/php-mcrypt/fix-1243568

« back to all changes in this revision

Viewing changes to tests/mcrypt_enc_self_test.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-03-02 14:40:36 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100302144036-a4himsjn968g8sjx
Tags: 5.3.1-0ubuntu1
New upstream release against PHP 5.3.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
mcrypt_enc_self_test
 
3
--SKIPIF--
 
4
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
 
5
--FILE--
 
6
<?php
 
7
$td = mcrypt_module_open(MCRYPT_RIJNDAEL_256, '', MCRYPT_MODE_CBC, '');
 
8
var_dump(mcrypt_enc_self_test($td));
 
9
--EXPECT--
 
10
int(0)
 
 
b'\\ No newline at end of file'