summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-22 11:47:57 +0100
committerMatt Caswell <matt@openssl.org>2016-04-22 14:39:30 +0100
commitb04e5c12c27ec3a1811091bf55b27c99f61a939f (patch)
treee53f236236fc568f9f08797e55d0c685292306e5 /include
parent596d6b7e1ca5aa24700098e262cb1625f256343f (diff)
Fix no-cmac on Windows/VMS
no-cmac was failing on Windows/VMS due to libcrypto.num not marking the CMAC functions properly. Found due to the new symbol consistency test. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/cmac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/cmac.h b/include/openssl/cmac.h
index a621923eb0..c2edb216c6 100644
--- a/include/openssl/cmac.h
+++ b/include/openssl/cmac.h
@@ -54,6 +54,8 @@
#ifndef HEADER_CMAC_H
# define HEADER_CMAC_H
+# ifndef OPENSSL_NO_CMAC
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -78,4 +80,6 @@ int CMAC_resume(CMAC_CTX *ctx);
#ifdef __cplusplus
}
#endif
+
+# endif
#endif