summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2019-06-15 16:16:31 +0000
committerflorian <florian@openbsd.org>2019-06-15 16:16:31 +0000
commitffbdc72d633e438199d9ca58e0cc85fc0a6d9b85 (patch)
treef3b0f52c1eb1cda2d21f62b15dafd2ecdcdd950d
parentrealpath(3) doesn't use lstat(2), readlink(2), or getcwd(3) anymore, (diff)
downloadwireguard-openbsd-ffbdc72d633e438199d9ca58e0cc85fc0a6d9b85.tar.xz
wireguard-openbsd-ffbdc72d633e438199d9ca58e0cc85fc0a6d9b85.zip
Now that we have different key types (rsa and ecdsa) we probably
should do something if the key type on disk differes from the configured keytype. Mark this XXX for now.
-rw-r--r--usr.sbin/acme-client/keyproc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/acme-client/keyproc.c b/usr.sbin/acme-client/keyproc.c
index cb0aca78608..1b58b4575c8 100644
--- a/usr.sbin/acme-client/keyproc.c
+++ b/usr.sbin/acme-client/keyproc.c
@@ -1,4 +1,4 @@
-/* $Id: keyproc.c,v 1.14 2019/06/14 19:55:08 florian Exp $ */
+/* $Id: keyproc.c,v 1.15 2019/06/15 16:16:31 florian Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -132,6 +132,7 @@ keyproc(int netsock, const char *keyfile, const char **alts, size_t altsz,
} else {
if ((pkey = key_load(f, keyfile)) == NULL)
goto out;
+ /* XXX check if domain key type equals configured key type */
doddbg("%s: loaded domain key", keyfile);
}