summaryrefslogtreecommitdiff
path: root/Remote/Helper/Encryptable.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-23 17:48:15 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-23 17:48:38 -0400
commit8d90c4160e06309bef061cbd491bb1088296ebad (patch)
tree8a4ede151453c6035a9b23b28d4c24bb1287e76a /Remote/Helper/Encryptable.hs
parent9a8ff4c743fae057520caebb59a760caf29001b4 (diff)
plumb RemoteGitConfig through to encryptCipher
Diffstat (limited to 'Remote/Helper/Encryptable.hs')
-rw-r--r--Remote/Helper/Encryptable.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Helper/Encryptable.hs b/Remote/Helper/Encryptable.hs
index b19d7dcd9..05c3e38a5 100644
--- a/Remote/Helper/Encryptable.hs
+++ b/Remote/Helper/Encryptable.hs
@@ -63,8 +63,8 @@ encryptionSetup c gc = do
-- hybrid encryption is the default when a keyid is
-- specified but no encryption
_ | maybe (M.member "keyid" c) (== "hybrid") encryption ->
- encsetup $ genEncryptedCipher cmd key Hybrid
- Just "pubkey" -> encsetup $ genEncryptedCipher cmd key PubKey
+ encsetup $ genEncryptedCipher cmd (c, gc) key Hybrid
+ Just "pubkey" -> encsetup $ genEncryptedCipher cmd (c, gc) key PubKey
Just "sharedpubkey" -> encsetup $ genSharedPubKeyCipher cmd key
_ -> error $ "Specify " ++ intercalate " or "
(map ("encryption=" ++)