Browse Source

Pass the correct export password to the encoder function.

master
samr7 13 years ago
parent
commit
5fb1fe9119
  1. 2
      keyconv.c

2
keyconv.c

@ -130,7 +130,7 @@ main(int argc, char **argv)
else if (pass_in) { else if (pass_in) {
res = vg_protect_encode_privkey(ecprot, pkey, privtype, res = vg_protect_encode_privkey(ecprot, pkey, privtype,
parameter_group, pwbuf); parameter_group, pass_in);
if (!res) { if (!res) {
fprintf(stderr, "ERROR: could not password-protect " fprintf(stderr, "ERROR: could not password-protect "

Loading…
Cancel
Save