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:
parent
696c935a4c
commit
fd999fad3a
|
@ -626,6 +626,9 @@ conf_end_oper(struct TopConf *tc)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!EmptyString(yy_oper->certfp))
|
||||||
|
yy_tmpoper->certfp = yy_oper->certfp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* all is ok, put it on oper_conf_list */
|
/* all is ok, put it on oper_conf_list */
|
||||||
|
|
Loading…
Reference in New Issue