diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-06-08 00:03:08 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-15 19:22:38 +0200 |
commit | 472f727c5510b95dccb1751147016ab09d1c7897 (patch) | |
tree | 3d03245535fa6da3fd79ce56de81485e204ae510 /crypto/ui | |
parent | Constify PKCS12_create, PKCS12_add_key, PKCS12_add_safe. (diff) | |
download | openssl-472f727c5510b95dccb1751147016ab09d1c7897.tar.xz openssl-472f727c5510b95dccb1751147016ab09d1c7897.zip |
Constify UI
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1215)
Diffstat (limited to 'crypto/ui')
-rw-r--r-- | crypto/ui/ui_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |