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.
This commit is contained in:
Elizabeth Jennifer Myers 2011-01-23 16:12:32 -05:00
parent 48dc39f771
commit 63c7a68e19

View file

@ -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 */