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 696c935a4c
commit fd999fad3a
1 changed files with 3 additions and 0 deletions

View File

@ -626,6 +626,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 */