Annotation of embedaddon/php/ext/openssl/tests/bug54060.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #54060 (Memory leak in openssl_encrypt)
3: --SKIPIF--
4: <?php if (!extension_loaded("openssl")) die("skip"); ?>
5: --FILE--
6: <?php
7:
8: $data = "jfdslkjvflsdkjvlkfjvlkjfvlkdm,4w 043920r 9234r 32904r 09243
9: r7-89437 r892374 r894372 r894 7289r7 f frwerfh i iurf iuryw uyrfouiwy ruy
10: 972439 8478942 yrhfjkdhls";
11: $pass = "r23498rui324hjbnkj";
12:
13: openssl_encrypt($data, 'des3', $pass, false, '1qazxsw2');
14: echo "Done";
15: ?>
16: --EXPECT--
17: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>