summaryrefslogtreecommitdiff
path: root/devel/uclmmbase/files/hmac.h.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'devel/uclmmbase/files/hmac.h.bsd')
-rw-r--r--devel/uclmmbase/files/hmac.h.bsd4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/uclmmbase/files/hmac.h.bsd b/devel/uclmmbase/files/hmac.h.bsd
new file mode 100644
index 000000000000..38a000e15dcd
--- /dev/null
+++ b/devel/uclmmbase/files/hmac.h.bsd
@@ -0,0 +1,4 @@
+#include <openssl/hmac.h>
+
+#define hmac_md5(data, datalen, key, keylen, digest) \
+ HMAC(EVP_md5(), key, keylen, data, datalen, digest, NULL)