openssl: Disable PKCS#7/CMS when building against OpenSSL < 0.9.8g

Fixes #292.
This commit is contained in:
Tobias Brunner
2013-02-20 18:34:54 +01:00
parent 7a93844f21
commit 0d237763dc
2 changed files with 5 additions and 1 deletions
@@ -13,8 +13,10 @@
* for more details.
*/
#include <openssl/opensslv.h>
#include <openssl/opensslconf.h>
#if OPENSSL_VERSION_NUMBER >= 0x0090807fL
#ifndef OPENSSL_NO_CMS
#include "openssl_pkcs7.h"
@@ -788,3 +790,4 @@ pkcs7_t *openssl_pkcs7_load(container_type_t type, va_list args)
}
#endif /* OPENSSL_NO_CMS */
#endif /* OPENSSL_VERSION_NUMBER */