Don't build OpenSSL PKCS#7 code if OPENSSL_NO_CMS defined

This commit is contained in:
Martin Willi
2013-01-03 11:05:49 +01:00
parent 1c65b6c305
commit 2b9e597b54
@@ -13,6 +13,8 @@
* for more details. * for more details.
*/ */
#ifndef OPENSSL_NO_CMS
#include "openssl_pkcs7.h" #include "openssl_pkcs7.h"
#include "openssl_util.h" #include "openssl_util.h"
@@ -782,3 +784,5 @@ pkcs7_t *openssl_pkcs7_load(container_type_t type, va_list args)
} }
return NULL; return NULL;
} }
#endif /* OPENSSL_NO_CMS */