summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cmac/cm_ameth.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_ameth.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_ameth.c')
-rw-r--r--src/lib/libcrypto/cmac/cm_ameth.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/cmac/cm_ameth.c b/src/lib/libcrypto/cmac/cm_ameth.c
index 763d161cfe..39d8ad3aa8 100644
--- a/src/lib/libcrypto/cmac/cm_ameth.c
+++ b/src/lib/libcrypto/cmac/cm_ameth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cm_ameth.c,v 1.5 2014/06/21 13:42:14 jsing Exp $ */ 1/* $OpenBSD: cm_ameth.c,v 1.6 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 */
@@ -52,9 +52,10 @@
52 */ 52 */
53 53
54#include <stdio.h> 54#include <stdio.h>
55#include "cryptlib.h" 55
56#include <openssl/evp.h>
57#include <openssl/cmac.h> 56#include <openssl/cmac.h>
57#include <openssl/evp.h>
58
58#include "asn1_locl.h" 59#include "asn1_locl.h"
59 60
60/* CMAC "ASN1" method. This is just here to indicate the 61/* CMAC "ASN1" method. This is just here to indicate the