OpenPGP: make logical structure clearer

- one line per sub-term in the condition of the conditional statement
This commit is contained in:
Peter Marschall 2015-09-14 21:48:48 +02:00
parent e316bf3140
commit 3341c5bb8f
1 changed files with 6 additions and 3 deletions

View File

@ -807,9 +807,12 @@ pgp_read_blob(sc_card_t *card, pgp_blob_t *blob)
/* Buffer length for Gnuk pubkey */
if (card->type == SC_CARD_TYPE_OPENPGP_GNUK &&
(blob->id == DO_AUTH || blob->id == DO_SIGN || blob->id == DO_ENCR
|| blob->id == DO_AUTH_SYM || blob->id == DO_SIGN_SYM
|| blob->id == DO_ENCR_SYM)) {
(blob->id == DO_AUTH ||
blob->id == DO_SIGN ||
blob->id == DO_ENCR ||
blob->id == DO_AUTH_SYM ||
blob->id == DO_SIGN_SYM ||
blob->id == DO_ENCR_SYM)) {
buf_len = MAXLEN_RESP_PUBKEY_GNUK;
}