summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2002-08-07 21:48:45 +0200
committerDavid Shaw <dshaw@jabberwocky.com>2002-08-07 21:48:45 +0200
commitbed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74 (patch)
treeebe0ebf5180dea2b524269fcee83c274667410ad /include
parent* md.c (md_algo_present): New function to check if a given algo is in use (diff)
downloadgnupg2-bed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74.tar.xz
gnupg2-bed4e0daa0525fae21bc17c2e0d1da3e1b3b9c74.zip
* cipher.h: Add md_algo_present().
Diffstat (limited to 'include')
-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 <dshaw@jabberwocky.com>
+
+ * cipher.h: Add md_algo_present().
+
2002-08-06 Stefan Bellon <sbellon@sbellon.de>
* 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 );