libidav/crypto.c

changeset 183
c238e0017257
parent 155
b85248a8aee2
child 185
cd42cccee550
equal deleted inserted replaced
182:ca07f14f7bfe 183:c238e0017257
289 return (char*)out; 289 return (char*)out;
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
295 SHA256Final((unsigned char*)buf, sha256);
296 #else
297 SHA256_Final((unsigned char*)buf, sha256); 294 SHA256_Final((unsigned char*)buf, sha256);
298 #endif 295 }
299 }

mercurial