fixed typo

This commit is contained in:
Frank Morgner 2016-02-18 00:13:29 +01:00 committed by Viktor Tarasov
parent fa71448d1c
commit 1862970212
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ static int format_senv(struct sc_pkcs15_card *p15card,
case SC_PKCS15_TYPE_PRKEY_GOSTR3410:
*alg_info_out = sc_card_find_gostr3410_alg(p15card->card, prkey->modulus_length);
if (alg_info_out == NULL) {
if (*alg_info_out == NULL) {
sc_log(ctx, "Card does not support GOSTR3410 with key length %d", prkey->modulus_length);
LOG_FUNC_RETURN(ctx, SC_ERROR_NOT_SUPPORTED);
}