# HG changeset patch # User Olaf Wintermann # Date 1453052717 -3600 # Node ID c238e0017257dae0036423c1caebeb8e89f823ae # Parent ca07f14f7bfe9fb0066b5986968e26458be76057 fixed Solaris build diff -r ca07f14f7bfe -r c238e0017257 libidav/crypto.c --- a/libidav/crypto.c Wed Jan 13 15:31:10 2016 +0100 +++ b/libidav/crypto.c Sun Jan 17 18:45:17 2016 +0100 @@ -291,9 +291,5 @@ void dav_get_hash(SHA256_CTX *sha256, char *buf) { -#ifdef __sun - SHA256Final((unsigned char*)buf, sha256); -#else SHA256_Final((unsigned char*)buf, sha256); -#endif } diff -r ca07f14f7bfe -r c238e0017257 libidav/crypto.h --- a/libidav/crypto.h Wed Jan 13 15:31:10 2016 +0100 +++ b/libidav/crypto.h Sun Jan 17 18:45:17 2016 +0100 @@ -35,6 +35,9 @@ #ifdef __sun #include +#define SHA256_Init SHA256Init +#define SHA256_Update SHA256Update +#define SHA256_Final SHA256Final #else #include #endif