Skip to content

Commit

Permalink
squash pkcs15-init.c spelling
Browse files Browse the repository at this point in the history
 On branch X25519-improvements-2
 Changes to be committed:
	modified:   tools/pkcs15-init.c
  • Loading branch information
dengert committed Jan 20, 2024
1 parent 1c87ff8 commit 3ce00fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/pkcs15-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ static const struct alg_spec alg_types_sym[] = {
{ NULL, -1, 0 }
};

/* RSA can have a number , defaulr is 2048 */
/* RSA can have a number , default is 2048 */
/* EC require a curve name */
/* EDDSA and XEDDSA without a size require a size or curve name or OID */
/* other EDDSA and XEDDSA can be used alone */
Expand Down Expand Up @@ -769,7 +769,7 @@ parse_alg_spec(const struct alg_spec *types, const char *spec, unsigned int *key
if (*spec == '/' || *spec == '-' || *spec == ':')
spec++;

/* if we have eveything for EDDSA or XEDDSA */
/* if we have everything for EDDSA or XEDDSA */
if (*spec == 0x00 && *keybits && (algorithm == SC_ALGORITHM_EDDSA || SC_ALGORITHM_XEDDSA) && prkey) {
prkey->u.ec.params.named_curve = strdup(types[types_idx].spec); /* correct case */
*keybits = types[types_idx].keybits;
Expand Down

0 comments on commit 3ce00fb

Please sign in to comment.