hide credentials headers in credential_factory.h
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 28 May 2009 13:34:18 +0000 (15:34 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 28 May 2009 13:35:02 +0000 (15:35 +0200)
src/charon/config/attributes/attribute_provider.h
src/libstrongswan/credentials/credential_factory.h
src/libstrongswan/library.h
src/libstrongswan/plugins/x509/x509_ac.c
src/libstrongswan/plugins/x509/x509_cert.c
src/libstrongswan/plugins/x509/x509_ocsp_request.c
src/openac/openac.c

index d14ffda..0f1057a 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <library.h>
 #include <utils/host.h>
+#include <utils/identification.h>
 
 typedef struct attribute_provider_t attribute_provider_t;
 
index 42fb2df..5057a7a 100644 (file)
@@ -24,9 +24,6 @@
 typedef struct credential_factory_t credential_factory_t;
 typedef enum credential_type_t credential_type_t;
 
-#include <credentials/keys/private_key.h>
-#include <credentials/keys/public_key.h>
-#include <credentials/certificates/certificate.h>
 #include <credentials/builder.h>
 
 /**
index c343249..35c6b68 100644 (file)
 #include <crypto/crypto_factory.h>
 #include <fetcher/fetcher_manager.h>
 #include <database/database_factory.h>
-
-#ifdef NO_CREDENTIAL_FACTORY
-       typedef struct credential_factory_t credential_factory_t;
-#else
-       #include <credentials/credential_factory.h>
-#endif
+#include <credentials/credential_factory.h>
 
 typedef struct library_t library_t;
 
index 4016468..46055c6 100644 (file)
@@ -30,6 +30,7 @@
 #include <utils/identification.h>
 #include <utils/linked_list.h>
 #include <credentials/certificates/x509.h>
+#include <credentials/keys/private_key.h>
 
 extern identification_t* x509_parse_authorityKeyIdentifier(chunk_t blob,
                                                         int level0, chunk_t *authKeySerialNumber);
index 75f7f19..57fef94 100644 (file)
@@ -35,6 +35,7 @@
 #include <asn1/asn1_parser.h>
 #include <asn1/pem.h>
 #include <crypto/hashers/hasher.h>
+#include <credentials/keys/private_key.h>
 #include <utils/linked_list.h>
 #include <utils/identification.h>
 
index 4c0907c..4020d8d 100644 (file)
@@ -24,6 +24,7 @@
 #include <utils/linked_list.h>
 #include <debug.h>
 #include <credentials/certificates/x509.h>
+#include <credentials/keys/private_key.h>
 
 #define NONCE_LEN              16
 
index 6cbb761..3686c07 100755 (executable)
@@ -37,6 +37,7 @@
 #include <asn1/pem.h>
 #include <credentials/certificates/x509.h>
 #include <credentials/certificates/ac.h>
+#include <credentials/keys/private_key.h>
 #include <utils/optionsfrom.h>
 
 #ifdef INTEGRITY_TEST