Skip to content

Commit 7fbd967

Browse files
committed
card-openpgp.c - spelling
On branch X25519-improvements-2 Changes to be committed: modified: libopensc/card-openpgp.c
1 parent 3ef24f9 commit 7fbd967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libopensc/card-openpgp.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3031,7 +3031,7 @@ pgp_parse_and_set_pubkey_output(sc_card_t *card, u8* data, size_t data_len,
30313031
LOG_FUNC_RETURN(card->ctx, SC_ERROR_INTERNAL);
30323032
}
30333033

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

34883488
LOG_FUNC_CALLED(card->ctx);
34893489

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

0 commit comments

Comments
 (0)