[openssh-commits] [openssh] 03/05: upstream: fix typos in sk_enroll
git+noreply at mindrot.org
git+noreply at mindrot.org
Sun Nov 17 09:44:51 AEDT 2019
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit d431778a561d90131814f986b646299f9af33c8c
Author: markus at openbsd.org <markus at openbsd.org>
Date: Fri Nov 15 15:41:01 2019 +0000
upstream: fix typos in sk_enroll
OpenBSD-Commit-ID: faa9bf779e008b3e64e2eb1344d9b7d83b3c4487
---
sk-usbhid.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sk-usbhid.c b/sk-usbhid.c
index d008b0a9..17b59536 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -391,7 +391,7 @@ pack_public_key(int alg, fido_cred_t *cred, struct sk_enroll_response *response)
int
sk_enroll(int alg, const uint8_t *challenge, size_t challenge_len,
const char *application, uint8_t flags,
- struct sk_enroll_response **enroll_reponse)
+ struct sk_enroll_response **enroll_response)
{
fido_cred_t *cred = NULL;
fido_dev_t *dev = NULL;
@@ -408,11 +408,11 @@ sk_enroll(int alg, const uint8_t *challenge, size_t challenge_len,
#ifdef SK_DEBUG
fido_init(FIDO_DEBUG);
#endif
- if (enroll_reponse == NULL) {
- skdebug(__func__, "enroll_reponse == NULL");
+ if (enroll_response == NULL) {
+ skdebug(__func__, "enroll_response == NULL");
goto out;
}
- *enroll_reponse = NULL;
+ *enroll_response = NULL;
switch(alg) {
case SK_ECDSA:
cose_alg = COSE_ES256;
@@ -514,7 +514,7 @@ sk_enroll(int alg, const uint8_t *challenge, size_t challenge_len,
memcpy(response->attestation_cert, ptr, len);
response->attestation_cert_len = len;
}
- *enroll_reponse = response;
+ *enroll_response = response;
response = NULL;
ret = 0;
out:
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list