diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-10-27 14:05:14 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-10-27 14:05:14 +0000 |
commit | 9a3d98189c3cccc5ecf25d2284ca4cfbe49df351 (patch) | |
tree | 7bc6e8f56a57a37a3b133deeb2363db5e9c4a5ab /includes | |
parent | ab28b8dd19e91a799683ba3b6daa0a89a1f9820d (diff) | |
download | gnutls-9a3d98189c3cccc5ecf25d2284ca4cfbe49df351.tar.gz |
Add MD2.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/gnutls.h.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in index de0da6785d..71eb3b8377 100644 --- a/includes/gnutls/gnutls.h.in +++ b/includes/gnutls/gnutls.h.in @@ -88,13 +88,18 @@ typedef enum { GNUTLS_MAC_NULL = 1, GNUTLS_MAC_MD5, GNUTLS_MAC_SHA1, - GNUTLS_MAC_RMD160 + GNUTLS_MAC_RMD160, + GNUTLS_MAC_MD2 } gnutls_mac_algorithm_t; /* The enumerations here should have the same value with gnutls_mac_algorithm_t. */ -typedef enum { GNUTLS_DIG_NULL=1, GNUTLS_DIG_MD5, - GNUTLS_DIG_SHA1, GNUTLS_DIG_RMD160 +typedef enum { + GNUTLS_DIG_NULL=1, + GNUTLS_DIG_MD5, + GNUTLS_DIG_SHA1, + GNUTLS_DIG_RMD160, + GNUTLS_DIG_MD2 } gnutls_digest_algorithm_t; /* exported for other gnutls headers. This is the maximum number |