summaryrefslogtreecommitdiffstats
path: root/crypto_polarssl.h
diff options
context:
space:
mode:
authorAdriaan de Jong <adriaan@adriaan-VirtualBox.(none)>2011-07-02 11:00:49 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 14:35:16 +0200
commit7ce40d9931ab9f16c83b282eb0f2ba1ebefd7079 (patch)
tree00f57a21aa9a9e78cd19d70549e27b3f67a8e908 /crypto_polarssl.h
parentf25d29c9b239b757f5391f0fb1a7353ec6b8bbcf (diff)
downloadopenvpn-7ce40d9931ab9f16c83b282eb0f2ba1ebefd7079.tar.gz
openvpn-7ce40d9931ab9f16c83b282eb0f2ba1ebefd7079.tar.xz
openvpn-7ce40d9931ab9f16c83b282eb0f2ba1ebefd7079.zip
Added SHA_DIGEST_SIZE definition
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'crypto_polarssl.h')
-rw-r--r--crypto_polarssl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto_polarssl.h b/crypto_polarssl.h
index 190c75d..0224917 100644
--- a/crypto_polarssl.h
+++ b/crypto_polarssl.h
@@ -67,5 +67,6 @@ typedef md_context_t hmac_ctx_t;
#define OPENVPN_OP_DECRYPT POLARSSL_DECRYPT
#define MD5_DIGEST_LENGTH 16
+#define SHA_DIGEST_LENGTH 20
#endif /* CRYPTO_POLARSSL_H_ */