Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.2.5] Backport #1575 from 1.3.0 #1613

Merged
merged 3 commits into from Nov 28, 2013
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Skip test for #1340 when openssl is not available
  • Loading branch information
sjinks committed Nov 28, 2013
commit 1a1abe1e1d342eab1c602dd1b86140097c554566
7 changes: 6 additions & 1 deletion ext/tests/issue-1340-valgrind.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
--TEST--
Memory corruption in zim_Phalcon_Security_hash() - https://github.com/phalcon/cphalcon/issues/1340 - run under Valgrind!
--SKIPIF--
<?php include('skipif.inc'); ?>
<?php
include('skipif.inc');
if (!extension_loaded('openssl')) {
die('skip OpenSSL extension is not loaded');
}
?>
--FILE--
<?php
$s = new \Phalcon\Security();
Expand Down