APP_PASS_LEN
char *tmp, tpass[APP_PASS_LEN];
i = BIO_gets(pwdbio, tpass, APP_PASS_LEN);
char pass[APP_PASS_LEN];