154:3cfb4670d9e6 | 155:b85248a8aee2 |
---|---|
290 } | 290 } |
291 | 291 |
292 | 292 |
293 void dav_get_hash(SHA256_CTX *sha256, char *buf) { | 293 void dav_get_hash(SHA256_CTX *sha256, char *buf) { |
294 #ifdef __sun | 294 #ifdef __sun |
295 SHA256Final(buf, sha256); | 295 SHA256Final((unsigned char*)buf, sha256); |
296 #else | 296 #else |
297 SHA256_Final(buf, sha256); | 297 SHA256_Final((unsigned char*)buf, sha256); |
298 #endif | 298 #endif |
299 } | 299 } |