From 63c7a68e19676f451cd0c79ef4739c0ec21cdd72 Mon Sep 17 00:00:00 2001 From: Elizabeth Jennifer Myers Date: Sun, 23 Jan 2011 16:12:32 -0500 Subject: [PATCH] newconf: fix certificate fingerprint auth. yy_oper->certfp was not copied into yy_tmpoper->certfp, thus the information was lost and certfp auth was never really working, since the string was always empty. --- src/newconf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/newconf.c b/src/newconf.c index 0f575b18f..ac83e42f0 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -595,6 +595,9 @@ conf_end_oper(struct TopConf *tc) return 0; } } + + if(!EmptyString(yy_oper->certfp)) + yy_tmpoper->certfp = yy_oper->certfp; #endif /* all is ok, put it on oper_conf_list */