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
48dc39f771
commit
63c7a68e19
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue