function _encrypt_openssl_extension_is_present in Encrypt 7.2
Callback to see if the OpenSSL library is present.
1 string reference to '_encrypt_openssl_extension_is_present'
- encrypt_openssl_encrypt_encryption_methods in plugins/
encryption_methods/ openssl.inc - Implements hook_encrypt_encryption_methods().
File
- plugins/
encryption_methods/ openssl.inc, line 153
Code
function _encrypt_openssl_extension_is_present() {
$errors = array();
if (!function_exists('openssl_encrypt')) {
$errors[] = t('OpenSSL library not installed.');
}
return $errors;
}