diff options
| author | jsing <> | 2014-04-25 04:02:04 +0000 | 
|---|---|---|
| committer | jsing <> | 2014-04-25 04:02:04 +0000 | 
| commit | e05ea2c1a324a60fbd24a6eb69abe71b4a444e0b (patch) | |
| tree | c6650fc16129e886f9a6f889eec163429cb8e2b4 | |
| parent | 381dc4e8292602037530c89c443e75b0e685e229 (diff) | |
| download | openbsd-e05ea2c1a324a60fbd24a6eb69abe71b4a444e0b.tar.gz openbsd-e05ea2c1a324a60fbd24a6eb69abe71b4a444e0b.tar.bz2 openbsd-e05ea2c1a324a60fbd24a6eb69abe71b4a444e0b.zip | |
Use const char *.
Suggested by miod@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/ui/ui_lib.c | 2 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/ui/ui_lib.c | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c index c19d894d4e..ee76e5e64d 100644 --- a/src/lib/libcrypto/ui/ui_lib.c +++ b/src/lib/libcrypto/ui/ui_lib.c | |||
| @@ -388,7 +388,7 @@ UI_dup_error_string(UI *ui, const char *text) | |||
| 388 | char * | 388 | char * | 
| 389 | UI_construct_prompt(UI *ui, const char *object_desc, const char *object_name) | 389 | UI_construct_prompt(UI *ui, const char *object_desc, const char *object_name) | 
| 390 | { | 390 | { | 
| 391 | char *format = "Enter %s for %s:"; | 391 | const char *format = "Enter %s for %s:"; | 
| 392 | char *prompt; | 392 | char *prompt; | 
| 393 | 393 | ||
| 394 | if (ui->meth->ui_construct_prompt) | 394 | if (ui->meth->ui_construct_prompt) | 
| diff --git a/src/lib/libssl/src/crypto/ui/ui_lib.c b/src/lib/libssl/src/crypto/ui/ui_lib.c index c19d894d4e..ee76e5e64d 100644 --- a/src/lib/libssl/src/crypto/ui/ui_lib.c +++ b/src/lib/libssl/src/crypto/ui/ui_lib.c | |||
| @@ -388,7 +388,7 @@ UI_dup_error_string(UI *ui, const char *text) | |||
| 388 | char * | 388 | char * | 
| 389 | UI_construct_prompt(UI *ui, const char *object_desc, const char *object_name) | 389 | UI_construct_prompt(UI *ui, const char *object_desc, const char *object_name) | 
| 390 | { | 390 | { | 
| 391 | char *format = "Enter %s for %s:"; | 391 | const char *format = "Enter %s for %s:"; | 
| 392 | char *prompt; | 392 | char *prompt; | 
| 393 | 393 | ||
| 394 | if (ui->meth->ui_construct_prompt) | 394 | if (ui->meth->ui_construct_prompt) | 
