fixed handling of missing st keys

This commit is contained in:
Frank Morgner
2015-01-25 03:21:21 +01:00
parent afe71f59b7
commit 740ad86e51

View File

@@ -281,6 +281,7 @@ static int npa_unlock_esign(sc_card_t *card)
&& (!st_key || !st_key_len)) { && (!st_key || !st_key_len)) {
sc_log(card->ctx, "QES requires a comfort reader (CAT-K) or a ST certificate.\n"); sc_log(card->ctx, "QES requires a comfort reader (CAT-K) or a ST certificate.\n");
r = SC_ERROR_NOT_SUPPORTED; r = SC_ERROR_NOT_SUPPORTED;
goto err;
} }
/* FIXME set flags with opensc.conf */ /* FIXME set flags with opensc.conf */