summaryrefslogtreecommitdiffstats
path: root/cipher/md.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-02-12 00:22:09 +0100
committerWerner Koch <wk@gnupg.org>1998-02-12 00:22:09 +0100
commitbc5789665ae8c9f8fc3d02841cd6c9ade447a12a (patch)
treea98aa9fdf58eaffecb38ce481606ee8536280fc8 /cipher/md.h
parenta couple of changes; but some parts are now broken (diff)
downloadgnupg2-bc5789665ae8c9f8fc3d02841cd6c9ade447a12a.tar.xz
gnupg2-bc5789665ae8c9f8fc3d02841cd6c9ade447a12a.zip
bug fixes
Diffstat (limited to 'cipher/md.h')
-rw-r--r--cipher/md.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/md.h b/cipher/md.h
index 8a7886d03..7a710e795 100644
--- a/cipher/md.h
+++ b/cipher/md.h
@@ -36,6 +36,7 @@ typedef struct {
MD5_CONTEXT md5;
byte buffer[MD_BUFFER_SIZE]; /* primary buffer */
int bufcount;
+ int secure;
} *MD_HANDLE;
@@ -55,6 +56,6 @@ void md_write( MD_HANDLE a, byte *inbuf, size_t inlen);
void md_final(MD_HANDLE a);
byte *md_read( MD_HANDLE a, int algo );
int md_get_algo( MD_HANDLE a );
-
+#define md_is_secure(a) ((a)->secure)
#endif /*G10_MD_H*/