summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-11-26 23:05:51 +0100
committerDamien Miller <djm@mindrot.org>2024-11-26 23:46:41 +0100
commitfd2e64c9ec9ea3e89e396be0db41aaf982ae1210 (patch)
tree1e9038999b6f8f6968bb67950d46ca24567d1dd4
parentupstream: regression test for UpdateHostkeys with multiple keys backed (diff)
downloadopenssh-fd2e64c9ec9ea3e89e396be0db41aaf982ae1210.tar.xz
openssh-fd2e64c9ec9ea3e89e396be0db41aaf982ae1210.zip
upstream: g/c outdated XXX comments
OpenBSD-Commit-ID: 74d0c0b74994d9a4343c4d7ea4948cb34f609a6c
-rw-r--r--sshsig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshsig.c b/sshsig.c
index 289f3e728..6e03c0b06 100644
--- a/sshsig.c
+++ b/sshsig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshsig.c,v 1.36 2024/11/26 21:23:35 djm Exp $ */
+/* $OpenBSD: sshsig.c,v 1.37 2024/11/26 22:05:51 djm Exp $ */
/*
* Copyright (c) 2019 Google LLC
*
@@ -40,9 +40,9 @@
#define MAGIC_PREAMBLE_LEN (sizeof(MAGIC_PREAMBLE) - 1)
#define BEGIN_SIGNATURE "-----BEGIN SSH SIGNATURE-----"
#define END_SIGNATURE "-----END SSH SIGNATURE-----"
-#define RSA_SIGN_ALG "rsa-sha2-512" /* XXX maybe make configurable */
+#define RSA_SIGN_ALG "rsa-sha2-512"
#define RSA_SIGN_ALLOWED "rsa-sha2-512,rsa-sha2-256"
-#define HASHALG_DEFAULT "sha512" /* XXX maybe make configurable */
+#define HASHALG_DEFAULT "sha512"
#define HASHALG_ALLOWED "sha256,sha512"
int