Too many other functions depend on this being done.
Fixes #13340
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13346)
return NULL;
}
- if (u != NULL && cb == NULL)
- cb = PEM_def_callback;
if (cb == NULL)
- ui_method = UI_null();
- else
- ui_method = allocated_ui_method = UI_UTIL_wrap_read_pem_callback(cb, 0);
+ cb = PEM_def_callback;
+ ui_method = allocated_ui_method = UI_UTIL_wrap_read_pem_callback(cb, 0);
if (ui_method == NULL)
return NULL;