From 5fb1fe9119cb4d09289f5268f0c9201120f8f1a8 Mon Sep 17 00:00:00 2001 From: samr7 Date: Wed, 17 Aug 2011 12:46:37 -0700 Subject: [PATCH] Pass the correct export password to the encoder function. --- keyconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyconv.c b/keyconv.c index fecda35..a345d45 100644 --- a/keyconv.c +++ b/keyconv.c @@ -130,7 +130,7 @@ main(int argc, char **argv) else if (pass_in) { res = vg_protect_encode_privkey(ecprot, pkey, privtype, - parameter_group, pwbuf); + parameter_group, pass_in); if (!res) { fprintf(stderr, "ERROR: could not password-protect "