~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed62160
)
server/keymgmt.c: Check algorithms on public keys too.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 3 Sep 2017 13:12:47 +0000
(14:12 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000
(10:34 +0100)
As well as checking stuff, this also calculates some important stuff,
such as preferred key lengths. Also, it's quite quick, so this isn't
going to cause any performance trouble.
server/keymgmt.c
patch
|
blob
|
blame
|
history
diff --git
a/server/keymgmt.c
b/server/keymgmt.c
index
e086106
..
51a13d7
100644
(file)
--- a/
server/keymgmt.c
+++ b/
server/keymgmt.c
@@
-377,7
+377,7
@@
founddh:
}
if (algs_get(&kd->algs, &e, kh->kf, k) ||
-
(kd->k && algs_check(&kd->algs, &e, kd->grp)
)) {
+
algs_check(&kd->algs, &e, kd->grp
)) {
a_warn("KEYMGMT", "%s-keyring", kh->kind,
"%s", kh->kr, "key", "%s", t.buf,
"*%s", e.buf, A_END);