summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cmac/cm_pmeth.c
diff options
context:
space:
mode:
authorjsing <>2014-07-11 08:44:49 +0000
committerjsing <>2014-07-11 08:44:49 +0000
commit74e2c009c83ad374bd6acdcfc376a384e25ab007 (patch)
tree0e726f9e971e00f4c8cd8afab71589803fc11b7f /src/lib/libcrypto/cmac/cm_pmeth.c
parent7610da071a20f4325acc14cb2e961617a821ab35 (diff)
downloadopenbsd-74e2c009c83ad374bd6acdcfc376a384e25ab007.tar.gz
openbsd-74e2c009c83ad374bd6acdcfc376a384e25ab007.tar.bz2
openbsd-74e2c009c83ad374bd6acdcfc376a384e25ab007.zip
Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
Diffstat (limited to 'src/lib/libcrypto/cmac/cm_pmeth.c')
-rw-r--r--src/lib/libcrypto/cmac/cm_pmeth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/cmac/cm_pmeth.c b/src/lib/libcrypto/cmac/cm_pmeth.c
index 6aba656f18..d9059ca4a8 100644
--- a/src/lib/libcrypto/cmac/cm_pmeth.c
+++ b/src/lib/libcrypto/cmac/cm_pmeth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cm_pmeth.c,v 1.7 2014/07/10 13:58:22 jsing Exp $ */ 1/* $OpenBSD: cm_pmeth.c,v 1.8 2014/07/11 08:44:48 jsing Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2010. 3 * project 2010.
4 */ 4 */
@@ -54,11 +54,11 @@
54#include <stdio.h> 54#include <stdio.h>
55#include <string.h> 55#include <string.h>
56 56
57#include "cryptlib.h" 57#include <openssl/cmac.h>
58#include <openssl/evp.h>
58#include <openssl/x509.h> 59#include <openssl/x509.h>
59#include <openssl/x509v3.h> 60#include <openssl/x509v3.h>
60#include <openssl/evp.h> 61
61#include <openssl/cmac.h>
62#include "evp_locl.h" 62#include "evp_locl.h"
63 63
64/* The context structure and "key" is simply a CMAC_CTX */ 64/* The context structure and "key" is simply a CMAC_CTX */