aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-08-07 19:48:45 +0000
committerDavid Shaw <[email protected]>2002-08-07 19:48:45 +0000
commitbed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74 (patch)
treeebe0ebf5180dea2b524269fcee83c274667410ad
parent* md.c (md_algo_present): New function to check if a given algo is in use (diff)
downloadgnupg-bed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74.tar.gz
gnupg-bed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74.zip
* cipher.h: Add md_algo_present().
-rw-r--r--include/ChangeLog4
-rw-r--r--include/cipher.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 80df025e2..f647c7332 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-07 David Shaw <[email protected]>
+
+ * cipher.h: Add md_algo_present().
+
2002-08-06 Stefan Bellon <[email protected]>
* util.h [__riscos__]: Added riscos_getchar().
diff --git a/include/cipher.h b/include/cipher.h
index 7ad3772ba..992532df6 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -123,6 +123,7 @@ void md_final(MD_HANDLE a);
byte *md_read( MD_HANDLE a, int algo );
int md_digest( MD_HANDLE a, int algo, byte *buffer, int buflen );
int md_get_algo( MD_HANDLE a );
+int md_algo_present( MD_HANDLE a, int algo );
int md_digest_length( int algo );
const byte *md_asn_oid( int algo, size_t *asnlen, size_t *mdlen );
void md_start_debug( MD_HANDLE a, const char *suffix );