summaryrefslogtreecommitdiffstats
path: root/mac.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-01-17 14:03:34 +1100
committerDarren Tucker <dtucker@zip.com.au>2012-01-17 14:03:34 +1100
commite9b3ad73baf25fa780f853e40f91ce74f0381c76 (patch)
tree170ec8a5d634e03194c8778d7dca0d8c749f74f8 /mac.c
parent8ed4de8f1dcebddd7edc0dd3c10f1cb947d831eb (diff)
- (dtucker) [configure.ac mac.c openbsd-compat/openssl-compat.h] Add
null implementation of HMAC_CTX_init for the benefit of old versions of OpenSSL that don't have it.
Diffstat (limited to 'mac.c')
-rw-r--r--mac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mac.c b/mac.c
index da7b5d8b..332d3c62 100644
--- a/mac.c
+++ b/mac.c
@@ -44,6 +44,8 @@
#include "umac.h"
+#include "openbsd-compat/openssl-compat.h"
+
#define SSH_EVP 1 /* OpenSSL EVP-based MAC */
#define SSH_UMAC 2 /* UMAC (not integrated with OpenSSL) */