mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'PHP-7.1'
This commit is contained in:
commit
9ed2a70757
@ -1016,7 +1016,8 @@ static int add_oid_section(struct php_x509_request * req) /* {{{ */
|
||||
}
|
||||
for (i = 0; i < sk_CONF_VALUE_num(sktmp); i++) {
|
||||
cnf = sk_CONF_VALUE_value(sktmp, i);
|
||||
if (OBJ_create(cnf->value, cnf->name, cnf->name) == NID_undef) {
|
||||
if (OBJ_sn2nid(cnf->name) == NID_undef && OBJ_ln2nid(cnf->name) == NID_undef &&
|
||||
OBJ_create(cnf->value, cnf->name, cnf->name) == NID_undef) {
|
||||
php_openssl_store_errors();
|
||||
php_error_docref(NULL, E_WARNING, "problem creating object %s=%s", cnf->name, cnf->value);
|
||||
return FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user