Add routines for calculating SHA1 and MD5 digests, based on the
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 28 Dec 2009 03:50:38 +0000 (03:50 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 28 Dec 2009 03:50:38 +0000 (03:50 +0000)
commitbfade5af82624b7928a50a69cf0434c4740cb986
treebffabfe95db99416480da1a04da37585e7bb004a
parente3414a2937c369a160abf178e91f91e4866c5140
Add routines for calculating SHA1 and MD5 digests, based on the
gnutls package.  These routines are designed to replace the
current functions shahash() and md5sum(), but they are not
drop-in replacements because they have different signatures.

Prerequisites: packages gcrypt and gnutls.

This code is based on a contribution by Jason Stephenson.

A    include/opensrf/osrf_digest.h
A    src/libopensrf/osrf_digest.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1879 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/osrf_digest.h [new file with mode: 0644]
src/libopensrf/osrf_digest.c [new file with mode: 0644]