(hx509_prompt_hidden): reshuffle to avoid gcc warning

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17552 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-05-12 10:14:07 +00:00
parent 69b7cec07b
commit 744eef1102

View File

@@ -218,12 +218,15 @@ hx509_lock_free(hx509_lock lock)
int
hx509_prompt_hidden(hx509_prompt_type type)
{
/* default to hidden if unknown */
switch (type) {
case HX509_PROMPT_TYPE_QUESTION:
case HX509_PROMPT_TYPE_INFO:
return 0;
default:
return 1;
}
return 1;
}
int