Skip to content

Commit

Permalink
card-openpgp.c - spelling
Browse files Browse the repository at this point in the history
 On branch X25519-improvements-2
 Changes to be committed:
	modified:   libopensc/card-openpgp.c
  • Loading branch information
dengert committed Aug 23, 2024
1 parent 3ef24f9 commit 7fbd967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libopensc/card-openpgp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3031,7 +3031,7 @@ pgp_parse_and_set_pubkey_output(sc_card_t *card, u8* data, size_t data_len,
LOG_FUNC_RETURN(card->ctx, SC_ERROR_INTERNAL);
}

/* FIXME is this redundent? */
/* FIXME is this redundant? */
if (key_info->u.ec.ecpoint == NULL || len != BYTES4BITS(key_info->u.ec.ecpoint_len)) {
free(key_info->u.ec.ecpoint);
key_info->u.ec.ecpoint = malloc(len);
Expand Down Expand Up @@ -3487,7 +3487,7 @@ pgp_store_key(sc_card_t *card, sc_cardctl_openpgp_keystore_info_t *key_info)

LOG_FUNC_CALLED(card->ctx);

/* PKCS11 loads privkey separately from pubkey as two diffrent operations
/* PKCS11 loads privkey separately from pubkey as two different operations
* So this routine will be called twice to create two different objects.
* pkcs15init only calls once, with both.
* OpenPGP 4.3.1 says modulus and ecpointQ are optional when
Expand Down

0 comments on commit 7fbd967

Please sign in to comment.