summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ui/ui_lib.c')
-rw-r--r--src/lib/libcrypto/ui/ui_lib.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c
index a8abc27064..ac0100808f 100644
--- a/src/lib/libcrypto/ui/ui_lib.c
+++ b/src/lib/libcrypto/ui/ui_lib.c
@@ -693,17 +693,6 @@ int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui))
693 return -1; 693 return -1;
694 } 694 }
695 695
696int UI_method_set_prompt_constructor(UI_METHOD *method, char *(*prompt_constructor)(UI* ui, const char* object_desc, const char* object_name))
697 {
698 if (method)
699 {
700 method->ui_construct_prompt = prompt_constructor;
701 return 0;
702 }
703 else
704 return -1;
705 }
706
707int (*UI_method_get_opener(UI_METHOD *method))(UI*) 696int (*UI_method_get_opener(UI_METHOD *method))(UI*)
708 { 697 {
709 if (method) 698 if (method)
@@ -744,14 +733,6 @@ int (*UI_method_get_closer(UI_METHOD *method))(UI*)
744 return NULL; 733 return NULL;
745 } 734 }
746 735
747char* (*UI_method_get_prompt_constructor(UI_METHOD *method))(UI*, const char*, const char*)
748 {
749 if (method)
750 return method->ui_construct_prompt;
751 else
752 return NULL;
753 }
754
755enum UI_string_types UI_get_string_type(UI_STRING *uis) 736enum UI_string_types UI_get_string_type(UI_STRING *uis)
756 { 737 {
757 if (!uis) 738 if (!uis)