diff options
author | Richard Levitte <levitte@openssl.org> | 2001-06-19 15:54:47 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-06-19 15:54:47 +0000 |
commit | e0a8d1f94e018f8761cd026ff317b7e0cd80242e (patch) | |
tree | 006ce3be95394c0d261acfc8c9cbc6d19c5c66a9 /crypto/ui | |
parent | 9ad0f6812f287856ebb83229fdae22b7af8ab0ea (diff) |
The default flag should be for default passwords only. Otherwise,
someone having a default that is not a password will be confused.
Diffstat (limited to 'crypto/ui')
-rw-r--r-- | crypto/ui/ui.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/ui/ui.h b/crypto/ui/ui.h index 5dda8aba0f..4d8eab87d0 100644 --- a/crypto/ui/ui.h +++ b/crypto/ui/ui.h @@ -132,13 +132,13 @@ int UI_dup_error_string(UI *ui, const char *text); /* These are the possible flags. They can be or'ed together. */ /* Use to have echoing of input */ -#define UI_INPUT_FLAG_ECHO 0x01 -/* Use a default answer. Where that answer is found is completely up - to the application, it might for example be in the user data set +#define UI_INPUT_FLAG_ECHO 0x01 +/* Use a default password. Where that password is found is completely + up to the application, it might for example be in the user data set with UI_add_user_data(). It is not recommended to have more than one input in each UI being marked with this flag, or the application might get confused. */ -#define UI_INPUT_FLAG_DEFAULT 0x02 +#define UI_INPUT_FLAG_DEFAULT_PWD 0x02 /* The user of these routines may want to define flags of their own. The core UI won't look at those, but will pass them on to the method routines. They |