diff options
author | 2019-06-15 16:16:31 +0000 | |
---|---|---|
committer | 2019-06-15 16:16:31 +0000 | |
commit | ffbdc72d633e438199d9ca58e0cc85fc0a6d9b85 (patch) | |
tree | f3b0f52c1eb1cda2d21f62b15dafd2ecdcdd950d | |
parent | realpath(3) doesn't use lstat(2), readlink(2), or getcwd(3) anymore, (diff) | |
download | wireguard-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.c | 3 |
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); } |