Skip to content
  • Jan Beich's avatar
    os: unbreak xsha1 on FreeBSD · f2cf236d
    Jan Beich authored
    ../os/xsha1.c:36:10: fatal error: 'sha1.h' file not found
     #include <sha1.h>
              ^~~~~~~~
    ../os/xsha1.c:45:5: error: implicit declaration of function 'SHA1Init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        SHA1Init(ctx);
        ^
    ../os/xsha1.c:54:5: error: implicit declaration of function 'SHA1Update' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        SHA1Update(sha1_ctx, data, size);
        ^
    ../os/xsha1.c:63:5: error: implicit declaration of function 'SHA1Final' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        SHA1Final(result, sha1_ctx);
        ^
    f2cf236d
Loading