URI: 
       Call sodium_init in beopen() - dedup - deduplicating backup program
  HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit 4254c18ccefe1aec0ed1bae902202e0ca5f8ad10
   DIR parent 0bf61ad5efda6cffccf715d49f109d136c74931e
  HTML Author: sin <sin@2f30.org>
       Date:   Sun, 19 May 2019 21:30:52 +0300
       
       Call sodium_init in beopen()
       
       Diffstat:
         M bencrypt.c                          |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/bencrypt.c b/bencrypt.c
       @@ -157,6 +157,11 @@ beopen(struct bctx *bctx, char *path, int flags, int mode)
                        return -1;
                }
        
       +        if (sodium_init() < 0) {
       +                seterr("sodium_init: failed");
       +                return -1;
       +        }
       +
                bctx->ectx = calloc(1, sizeof(struct ectx));
                if (bctx->ectx == NULL) {
                        seterr("calloc: %s", strerror(errno));