提交 472f727c 编写于 作者: F FdaSilvaYY 提交者: Rich Salz
上级 82af00fb
......@@ -532,7 +532,7 @@ const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth)
return ui->meth;
}
UI_METHOD *UI_create_method(char *name)
UI_METHOD *UI_create_method(const char *name)
{
UI_METHOD *ui_method = OPENSSL_zalloc(sizeof(*ui_method));
......
......@@ -269,7 +269,7 @@ enum UI_string_types {
};
/* Create and manipulate methods */
UI_METHOD *UI_create_method(char *name);
UI_METHOD *UI_create_method(const char *name);
void UI_destroy_method(UI_METHOD *ui_method);
int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui));
int UI_method_set_writer(UI_METHOD *method,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册