Skip to content

Commit

Permalink
formating condition
Browse files Browse the repository at this point in the history
  • Loading branch information
msetina authored and Jakuje committed May 23, 2024
1 parent 82340fe commit 04c7b98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libopensc/card-idprime.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,9 @@ static int idprime_init(sc_card_t *card)
|| card->type == SC_CARD_TYPE_IDPRIME_940) {
_sc_card_add_rsa_alg(card, 4096, flags, 0);
}
if (card->type == SC_CARD_TYPE_IDPRIME_930
|| card->type == SC_CARD_TYPE_IDPRIME_940
|| card->type == SC_CARD_TYPE_IDPRIME_840) {
if (card->type == SC_CARD_TYPE_IDPRIME_930 ||
card->type == SC_CARD_TYPE_IDPRIME_940 ||
card->type == SC_CARD_TYPE_IDPRIME_840) {
/* Set up algorithm info for EC */
flags = SC_ALGORITHM_ECDSA_RAW | SC_ALGORITHM_ECDSA_HASH_NONE;
ext_flags = SC_ALGORITHM_EXT_EC_F_P
Expand Down

0 comments on commit 04c7b98

Please sign in to comment.