comparison Core/Pkcs11.h @ 2145:39f4207727db

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 17:09:29 +0100
parents 595cf22b3e7e
children a3a65de1840f
comparison
equal deleted inserted replaced
2144:a979ded1dbb1 2145:39f4207727db
30 **/ 30 **/
31 31
32 32
33 #pragma once 33 #pragma once
34 34
35 #if !defined(ORTHANC_SANDBOXED)
36 # error The macro ORTHANC_SANDBOXED must be defined
37 #endif
38
35 #if !defined(ORTHANC_ENABLE_PKCS11) 39 #if !defined(ORTHANC_ENABLE_PKCS11)
36 # error The macro ORTHANC_ENABLE_PKCS11 must be defined 40 # error The macro ORTHANC_ENABLE_PKCS11 must be defined
37 #endif 41 #endif
38 42
39 #if !defined(ORTHANC_ENABLE_SSL) 43 #if !defined(ORTHANC_ENABLE_SSL)
40 # error The macro ORTHANC_ENABLE_SSL must be defined 44 # error The macro ORTHANC_ENABLE_SSL must be defined
45 #endif
46
47 #if ORTHANC_SANDBOXED == 1
48 # error This file cannot be used in sandboxed environments
41 #endif 49 #endif
42 50
43 #if ORTHANC_ENABLE_PKCS11 != 1 || ORTHANC_ENABLE_SSL != 1 51 #if ORTHANC_ENABLE_PKCS11 != 1 || ORTHANC_ENABLE_SSL != 1
44 # error This file cannot be used if OpenSSL or PKCS#11 support is disabled 52 # error This file cannot be used if OpenSSL or PKCS#11 support is disabled
45 #endif 53 #endif