Use OPENSSL_OPTS for encryption too
This commit is contained in:
parent
78aa84eddb
commit
c2a4d9cb27
1 changed files with 2 additions and 1 deletions
3
yadm
3
yadm
|
@ -996,7 +996,8 @@ function _encrypt_to() {
|
||||||
require_openssl
|
require_openssl
|
||||||
|
|
||||||
OPENSSL_CIPHERNAME="$(_get_openssl_ciphername)"
|
OPENSSL_CIPHERNAME="$(_get_openssl_ciphername)"
|
||||||
$OPENSSL_PROGRAM enc -e "-${OPENSSL_CIPHERNAME}" -salt -out "$output_archive"
|
_set_openssl_options
|
||||||
|
$OPENSSL_PROGRAM enc -e "${OPENSSL_OPTS[@]}" "-${OPENSSL_CIPHERNAME}" -salt -out "$output_archive"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue