Skip to content

Commit

Permalink
Condense message
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMD committed Jun 26, 2024
1 parent fe013cc commit b6106cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pamu2fcfg/pamu2fcfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static int make_cred(const struct args *args, const char *path, fido_dev_t *dev,
if ((devopts & PIN_SET) &&
(r == FIDO_ERR_PIN_REQUIRED || r == FIDO_ERR_UV_BLOCKED ||
r == FIDO_ERR_PIN_BLOCKED)) {
n = snprintf(prompt, sizeof(prompt), "Enter PIN: ");
n = snprintf(prompt, sizeof(prompt), "Enter PIN (then touch device): ");
if (n < 0 || (size_t) n >= sizeof(prompt)) {
fprintf(stderr, "error: snprintf prompt");
return -1;
Expand All @@ -211,7 +211,6 @@ static int make_cred(const struct args *args, const char *path, fido_dev_t *dev,
explicit_bzero(pin, sizeof(pin));
return -1;
}
printf("PIN complete. Completion of credential creation might require touching the device.");
r = fido_dev_make_cred(dev, cred, pin);
}
explicit_bzero(pin, sizeof(pin));
Expand Down

0 comments on commit b6106cb

Please sign in to comment.