- put the definition of USE_PKCS15_INIT into a place where it can actually work
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@675 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
2fc2357639
commit
1556f98ba5
|
@ -18,10 +18,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
#define USE_PKCS15_INIT
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "sc-pkcs11.h"
|
||||
|
|
|
@ -18,10 +18,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
#define USE_PKCS15_INIT
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "sc-pkcs11.h"
|
||||
|
|
|
@ -41,6 +41,11 @@
|
|||
#pragma pack(pop, cryptoki)
|
||||
#endif
|
||||
|
||||
/* Decide whether to use pkcs11 for initialization support */
|
||||
#ifdef HAVE_OPENSSL
|
||||
# define USE_PKCS15_INIT
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -18,10 +18,6 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
#define USE_PKCS15_INIT
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sc-pkcs11.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue