[pkg-opensc-commit] [opensc] 105/295: Move include for internal.h from aux-date.h to aux-data.c (#888)

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit 0362439563a11d254aeda63b9e9ddb44ea289308
Author: Doug Engert <deengert at gmail.com>
Date:   Sun Oct 16 11:09:00 2016 -0700

    Move include for internal.h from aux-date.h to aux-data.c (#888)
    
    with #861 internal.h, includes sc-ossl-compat.h  which requires
    openssl header files. the tests/Makefile.am did not include the
    openssl CFLAGS.
---
 src/libopensc/aux-data.c    | 1 +
 src/libopensc/aux-data.h    | 1 -
 src/tools/cryptoflex-tool.c | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libopensc/aux-data.c b/src/libopensc/aux-data.c
index c81cbf5..3b7c474 100644
--- a/src/libopensc/aux-data.c
+++ b/src/libopensc/aux-data.c
@@ -27,6 +27,7 @@
 #include <assert.h>
 #include <string.h>
 
+#include "internal.h"
 #include "common/compat_strlcat.h"
 
 #include <libopensc/errors.h>
diff --git a/src/libopensc/aux-data.h b/src/libopensc/aux-data.h
index 20b5ee1..027fe4c 100644
--- a/src/libopensc/aux-data.h
+++ b/src/libopensc/aux-data.h
@@ -28,7 +28,6 @@ extern "C" {
 #endif
 
 #include "cardctl.h"
-#include "internal.h"
 #include "errors.h"
 #include "asn1.h"
 #include "types.h"
diff --git a/src/tools/cryptoflex-tool.c b/src/tools/cryptoflex-tool.c
index d9e8674..ed9255e 100644
--- a/src/tools/cryptoflex-tool.c
+++ b/src/tools/cryptoflex-tool.c
@@ -20,6 +20,7 @@
 
 #include "config.h"
 
+#include "libopensc/sc-ossl-compat.h"
 #include <openssl/bn.h>
 #include <openssl/rsa.h>
 #include <openssl/x509.h>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list