• Pieter Hintjens's avatar
    Problem: tweetnacl sources are a mess · f8ed793f
    Pieter Hintjens authored
    - they have no copyright / license statement
    - they are in some randomish directory structure
    - they are a mix of postable and non-portable files
    - they do not conform to conditional compile environment
    
    Overall, it makes it rather more work than needed, in build scripts.
    
    Solution: clean up tweetnacl sauce.
    
    - merged code into single tweetnacl.c and .h
    - standard copyright header, DJB to AUTHORS
    - moved into src/ along with all other source files
    - all system and conditional compilation hidden in these files
    - thus, they can be compiled and packaged in all cases
    - ZMQ_USE_TWEETNACL is set when we're using built-in tweetnacl
    - HAVE_LIBSODIUM is set when we're using external libsodium
    f8ed793f
curve_client.hpp 3.84 KB