OpenPGP: make logical structure clearer
- one line per sub-term in the condition of the conditional statement
This commit is contained in:
parent
e316bf3140
commit
3341c5bb8f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue