diff options
author | djm@openbsd.org <djm@openbsd.org> | 2024-11-26 23:05:51 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-11-26 23:46:41 +0100 |
commit | fd2e64c9ec9ea3e89e396be0db41aaf982ae1210 (patch) | |
tree | 1e9038999b6f8f6968bb67950d46ca24567d1dd4 | |
parent | upstream: regression test for UpdateHostkeys with multiple keys backed (diff) | |
download | openssh-fd2e64c9ec9ea3e89e396be0db41aaf982ae1210.tar.xz openssh-fd2e64c9ec9ea3e89e396be0db41aaf982ae1210.zip |
upstream: g/c outdated XXX comments
OpenBSD-Commit-ID: 74d0c0b74994d9a4343c4d7ea4948cb34f609a6c
-rw-r--r-- | sshsig.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |