if (Z_TYPE_PP(val) == IS_UNICODE && !filename) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Binary string expected, Unicode string received");
+ if (free_phrase) {
+ efree(passphrase);
+ }
return NULL;
}
static void openssl_add_method_or_alias(const OBJ_NAME *name, void *arg) /* {{{ */
{
- TSRMLS_FETCH();
add_next_index_ascii_string((zval*)arg, (char*)name->name, 1);
}
/* }}} */
static void openssl_add_method(const OBJ_NAME *name, void *arg) /* {{{ */
{
- TSRMLS_FETCH();
if (name->alias == 0) {
add_next_index_ascii_string((zval*)arg, (char*)name->name, 1);
}