summaryrefslogtreecommitdiffstats
path: root/crypto/ui/ui_locl.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-06-05 19:05:52 +0000
committerRichard Levitte <levitte@openssl.org>2001-06-05 19:05:52 +0000
commit1e7e62f8cdda90328531b3a7c31fb68240b6245f (patch)
treeee6b034a8cd426d7cad492dd56756ae1913e2107 /crypto/ui/ui_locl.h
parent5352823fbf69cbfd3f8be15010068c3408b47750 (diff)
A good use of the UI interface is as a password callback replacement
(for new functions...). One might still want to be able to pass down a user-data pointer to be used by the UI. However, ex_data doesn't quite cut it, since that means the appropriate index to it might need to be shared between parts that aren't really related in that sense, and would require the currently hidden (static) index holders to be uncovered. Not a good thing. Therefore, add the possibility to add a user-data pointer to a UI.
Diffstat (limited to 'crypto/ui/ui_locl.h')
-rw-r--r--crypto/ui/ui_locl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ui/ui_locl.h b/crypto/ui/ui_locl.h
index d5470a6c05..4adf0d821b 100644
--- a/crypto/ui/ui_locl.h
+++ b/crypto/ui/ui_locl.h
@@ -104,6 +104,7 @@ struct ui_st
STACK_OF(UI_STRING) *strings; /* We might want to prompt for more
than one thing at a time, and
with different echoing status. */
+ void *user_data;
CRYPTO_EX_DATA ex_data;
};