summaryrefslogtreecommitdiff
path: root/cli_args.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-09-08 19:48:13 +0200
committerJakob Unterwurzacher2021-09-08 19:48:13 +0200
commit1a5866729387c09eca1cdc9737d1b02c74c25901 (patch)
treef4f3e067a23fad3f34f9b555ec8b27799bc7412c /cli_args.go
parent85c2beccaf674c69b3e30b0d646f5c11d91ecb9b (diff)
stupidgcm: add PreferOpenSSL{AES256GCM,Xchacha20poly1305}
Add PreferOpenSSLXchacha20poly1305, rename PreferOpenSSL -> PreferOpenSSLAES256GCM.
Diffstat (limited to 'cli_args.go')
-rw-r--r--cli_args.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_args.go b/cli_args.go
index 0287741..7175006 100644
--- a/cli_args.go
+++ b/cli_args.go
@@ -253,7 +253,7 @@ func parseCliOpts(osArgs []string) (args argContainer) {
}
// "-openssl" needs some post-processing
if opensslAuto == "auto" {
- args.openssl = stupidgcm.PreferOpenSSL()
+ args.openssl = stupidgcm.PreferOpenSSLAES256GCM()
} else {
args.openssl, err = strconv.ParseBool(opensslAuto)
if err != nil {