diff options
author | tb <> | 2018-06-02 04:45:21 +0000 |
---|---|---|
committer | tb <> | 2018-06-02 04:45:21 +0000 |
commit | 49a6a67825dd906dd3954d89449cf414223296be (patch) | |
tree | 32d6d3db62ab75be86b5f0af30598ea2408d698a /src/lib/libcrypto/ui/ui.h | |
parent | a3c52968413008aa01f7c8f6876331831bf28f03 (diff) | |
download | openbsd-49a6a67825dd906dd3954d89449cf414223296be.tar.gz openbsd-49a6a67825dd906dd3954d89449cf414223296be.tar.bz2 openbsd-49a6a67825dd906dd3954d89449cf414223296be.zip |
Add a const qualifier to the argument of UI_method_get_closer(),
UI_method_get_flusher(), UI_method_get_opener(),
UI_method_get_prompt_constructor(), UI_method_get_reader(), and
UI_method_get_writer().
tested in a bulk build by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ui/ui.h')
-rw-r--r-- | src/lib/libcrypto/ui/ui.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ui/ui.h b/src/lib/libcrypto/ui/ui.h index 8ae0dd5e75..8035fc2baa 100644 --- a/src/lib/libcrypto/ui/ui.h +++ b/src/lib/libcrypto/ui/ui.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ui.h,v 1.10 2018/05/19 11:03:33 tb Exp $ */ | 1 | /* $OpenBSD: ui.h,v 1.11 2018/06/02 04:45:21 tb Exp $ */ |
2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
3 | * project 2001. | 3 | * project 2001. |
4 | */ | 4 | */ |
@@ -312,12 +312,12 @@ int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui)); | |||
312 | int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis)); | 312 | int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis)); |
313 | int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui)); | 313 | int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui)); |
314 | int UI_method_set_prompt_constructor(UI_METHOD *method, char *(*prompt_constructor)(UI* ui, const char* object_desc, const char* object_name)); | 314 | int UI_method_set_prompt_constructor(UI_METHOD *method, char *(*prompt_constructor)(UI* ui, const char* object_desc, const char* object_name)); |
315 | int (*UI_method_get_opener(UI_METHOD *method))(UI*); | 315 | int (*UI_method_get_opener(const UI_METHOD *method))(UI*); |
316 | int (*UI_method_get_writer(UI_METHOD *method))(UI*, UI_STRING*); | 316 | int (*UI_method_get_writer(const UI_METHOD *method))(UI*, UI_STRING*); |
317 | int (*UI_method_get_flusher(UI_METHOD *method))(UI*); | 317 | int (*UI_method_get_flusher(const UI_METHOD *method))(UI*); |
318 | int (*UI_method_get_reader(UI_METHOD *method))(UI*, UI_STRING*); | 318 | int (*UI_method_get_reader(const UI_METHOD *method))(UI*, UI_STRING*); |
319 | int (*UI_method_get_closer(UI_METHOD *method))(UI*); | 319 | int (*UI_method_get_closer(const UI_METHOD *method))(UI*); |
320 | char * (*UI_method_get_prompt_constructor(UI_METHOD *method))(UI*, const char*, const char*); | 320 | char * (*UI_method_get_prompt_constructor(const UI_METHOD *method))(UI*, const char*, const char*); |
321 | 321 | ||
322 | /* The following functions are helpers for method writers to access relevant | 322 | /* The following functions are helpers for method writers to access relevant |
323 | data from a UI_STRING. */ | 323 | data from a UI_STRING. */ |