Rather than one variable for each passwd type, use one enum variable Reviewed-by: Rich Salz <rsalz@openssl.org>