fix --passin option for RSA keys
Commit 1e98ba8 introduced an issue with RSA keys (only ED keys were tested). Closes #403 and #395 Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
commit
eaca0832fa
@ -670,7 +670,7 @@ current CA keypair. If you intended to start a new CA, run init-pki first."
|
||||
if [ "ed" = "$EASYRSA_ALGO" ]; then
|
||||
crypto_opts="$crypto_opts -pass file:$out_key_pass_tmp"
|
||||
else
|
||||
crypto_opts="$crypto_opts -passin file:$out_key_pass_tmp"
|
||||
crypto_opts="$crypto_opts -passout file:$out_key_pass_tmp"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user