fixed compiler warning

This commit is contained in:
Frank Morgner 2015-02-09 23:16:31 +01:00 committed by Viktor Tarasov
parent 16ea926d29
commit bff0ea4837
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ static void init_token(CK_SLOT_ID slot)
get_token_info(slot, &info);
if (opt_so_pin != NULL) {
new_pin = opt_so_pin;
new_pin = (char *) opt_so_pin;
} else {
if (!(info.flags & CKF_PROTECTED_AUTHENTICATION_PATH)) {
printf("Please enter the new SO PIN: ");