fix build (seems getGpgEncOpts got renamed to getGpgEncParams)

This commit is contained in:
Joey Hess 2013-09-04 18:00:02 -04:00
parent 8293ed619f
commit 1587fd42a3
3 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ storeEncrypted r (cipher, enck) k p = s3Action r False $ \(conn, bucket) ->
-- To get file size of the encrypted content, have to use a temp file.
-- (An alternative would be chunking to to a constant size.)
withTmp enck $ \tmp -> sendAnnex k (void $ remove' r enck) $ \src -> do
liftIO $ encrypt (getGpgEncOpts r) cipher (feedFile src) $
liftIO $ encrypt (getGpgEncParams r) cipher (feedFile src) $
readBytes $ L.writeFile tmp
s3Bool =<< storeHelper (conn, bucket) r enck p tmp