Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build with OpenSSL
A few missing s/value/_value changes.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Oct 12, 2014
1 parent e2ba2df commit a195868
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openssl.c
Expand Up @@ -302,8 +302,8 @@ static int ui_flush(UI *ui)

for (opt = (struct ui_form_opt *)ui_data->form.opts; opt;
opt = (struct ui_form_opt *)opt->opt.next) {
if (opt->opt.value && opt->uis)
UI_set_result(ui, opt->uis, opt->opt.value);
if (opt->opt._value && opt->uis)
UI_set_result(ui, opt->uis, opt->opt._value);
}
return 1;
}
Expand All @@ -316,8 +316,8 @@ static int ui_close(UI *ui)
opt = (struct ui_form_opt *)ui_data->form.opts;
while (opt) {
next_opt = (struct ui_form_opt *)opt->opt.next;
if (opt->opt.value)
free(opt->opt.value);
if (opt->opt._value)
free(opt->opt._value);
free(opt);
opt = next_opt;
}
Expand Down

0 comments on commit a195868

Please sign in to comment.