From 472f727c5510b95dccb1751147016ab09d1c7897 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Wed, 8 Jun 2016 00:03:08 +0200 Subject: Constify UI Reviewed-by: Kurt Roeckx Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1215) --- crypto/ui/ui_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/ui/ui_lib.c') diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index 1213892ad5..2940b2fd4a 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -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)); -- cgit v1.2.3