]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: fix a bug that prevented serialisation of ed25519-sk keys
authordjm@openbsd.org <djm@openbsd.org>
Mon, 18 Nov 2019 06:58:00 +0000 (06:58 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 18 Nov 2019 06:59:43 +0000 (17:59 +1100)
OpenBSD-Commit-ID: 066682b79333159cac04fcbe03ebd9c8dcc152a9

sshkey.c

index 8916f8027d53169246dba952f1ab3c3f87b9d5fc..48dd8bea905a67ce0229cbdc35e8616da357e9a8 100644 (file)
--- a/sshkey.c
+++ b/sshkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshkey.c,v 1.94 2019/11/18 06:39:02 djm Exp $ */
+/* $OpenBSD: sshkey.c,v 1.95 2019/11/18 06:58:00 djm Exp $ */
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
  * Copyright (c) 2008 Alexander von Gernler.  All rights reserved.
@@ -823,6 +823,7 @@ to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain,
        case KEY_RSA_CERT:
 #endif /* WITH_OPENSSL */
        case KEY_ED25519_CERT:
+       case KEY_ED25519_SK_CERT:
 #ifdef WITH_XMSS
        case KEY_XMSS_CERT:
 #endif /* WITH_XMSS */