]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Don't build OpenSSL PKCS#7 code if OPENSSL_NO_CMS defined
authorMartin Willi <martin@revosec.ch>
Thu, 3 Jan 2013 10:05:49 +0000 (11:05 +0100)
committerMartin Willi <martin@revosec.ch>
Thu, 3 Jan 2013 10:05:49 +0000 (11:05 +0100)
src/libstrongswan/plugins/openssl/openssl_pkcs7.c

index 6cd243c614e60ce29a92a57694d072ca90e8c946..25117428301b12425f6ed09d37b70acd4bc15a08 100644 (file)
@@ -13,6 +13,8 @@
  * for more details.
  */
 
+#ifndef OPENSSL_NO_CMS
+
 #include "openssl_pkcs7.h"
 #include "openssl_util.h"
 
@@ -782,3 +784,5 @@ pkcs7_t *openssl_pkcs7_load(container_type_t type, va_list args)
        }
        return NULL;
 }
+
+#endif /* OPENSSL_NO_CMS */