Skip to content

Commit

Permalink
Fix key generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdafu committed Nov 10, 2018
1 parent ffcb56b commit eed4917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/gnupg/g10/call-agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static gpg_error_t default_inq_cb(void *opaque, const char *line) {
if ((*pw)[0] == CONTROL_D && !(*pw)[1])
err = GPG_ERR_CANCELED;
else
err = assuan_send_data(parm->ctx, pw, strlen(pw->data()));
err = assuan_send_data(parm->ctx, pw->data(), strlen(pw->data()));
delete pw;
}
} else
Expand Down

1 comment on commit eed4917

@nooryom
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#98 yfmzpp

Please sign in to comment.