summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-12 11:26:18 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-02-12 11:26:18 +0000
commit52b6b11e993085cdc8df669a5334f51b93761e57 (patch)
tree213315c4f73fdcbf42f0c39548df697da7b76166 /lib/gnutls_int.h
parent2c79db7ea7e591d198936867c42dad63677cb697 (diff)
downloadgnutls-52b6b11e993085cdc8df669a5334f51b93761e57.tar.gz
added gnutls_x509_certificate_get_fingerprint(). Untested yet.
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index d082f0cb42..e8122fd73c 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -166,6 +166,7 @@ typedef enum gnutls_kx_algorithm { GNUTLS_KX_RSA=1, GNUTLS_KX_DHE_DSS,
} gnutls_kx_algorithm;
typedef enum gnutls_mac_algorithm { GNUTLS_MAC_NULL=1, GNUTLS_MAC_MD5, GNUTLS_MAC_SHA } gnutls_mac_algorithm;
+typedef gnutls_mac_algorithm gnutls_digest_algorithm;
typedef enum gnutls_compression_method { GNUTLS_COMP_NULL=1, GNUTLS_COMP_ZLIB,
GNUTLS_COMP_LZO
@@ -644,4 +645,7 @@ void _gnutls_free_auth_info( gnutls_session session);
void _gnutls_set_adv_version( gnutls_session, gnutls_protocol_version);
gnutls_protocol_version _gnutls_get_adv_version( gnutls_session);
+int gnutls_fingerprint(gnutls_digest_algorithm algo, const gnutls_datum* data,
+ char* result, size_t* result_size);
+
#endif /* GNUTLS_INT_H */