aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src
diff options
context:
space:
mode:
authorMichael Loftis <mloftis@wgops.com>2012-12-19 10:35:19 -0700
committerMichael Loftis <mloftis@wgops.com>2012-12-19 10:35:19 -0700
commite84023379df3f0a66aae31f64880629b6035e2a8 (patch)
tree3cad52a14506cf20ddc64a4324218ec1b24cc317 /lib/crypto/c_src
parent3881407ea8444c280d9659f40e6c169a1e10310d (diff)
downloadotp-e84023379df3f0a66aae31f64880629b6035e2a8.tar.gz
otp-e84023379df3f0a66aae31f64880629b6035e2a8.tar.bz2
otp-e84023379df3f0a66aae31f64880629b6035e2a8.zip
fix missing defines for RIPEMD160_CTX_LEN and RIPEMD160_LEN
A couple of #defines were missed in my previous patch.
Diffstat (limited to 'lib/crypto/c_src')
-rw-r--r--lib/crypto/c_src/crypto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index b08e570dba..e77e5fb8f0 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -335,6 +335,8 @@ ERL_NIF_INIT(crypto,nif_funcs,load,NULL,upgrade,unload)
#define MD5_LEN_96 12
#define MD4_CTX_LEN (sizeof(MD4_CTX))
#define MD4_LEN 16
+#define RIPEMD160_CTX_LEN (sizeof(RIPEMD160_CTX))
+#define RIPEMD160_LEN 20
#define SHA_CTX_LEN (sizeof(SHA_CTX))
#define SHA_LEN 20
#define SHA_LEN_96 12