summaryrefslogtreecommitdiff
path: root/sntp/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/crypto.c')
-rw-r--r--sntp/crypto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sntp/crypto.c b/sntp/crypto.c
index be94ed51d2ef..8ffe006f9912 100644
--- a/sntp/crypto.c
+++ b/sntp/crypto.c
@@ -32,7 +32,9 @@ compute_mac(
)
{
u_int len = 0;
+#if defined(OPENSSL) && defined(ENABLE_CMAC)
size_t slen = 0;
+#endif
int key_type;
INIT_SSL();