added an include hack to build starter without gmp.h
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "certs.h"
|
||||
#include "whack.h"
|
||||
#include "fetch.h"
|
||||
#include "smartcard.h"
|
||||
|
||||
/* chained list of X.509 authority certificates (ca, aa, and ocsp) */
|
||||
|
||||
|
||||
@@ -25,14 +25,17 @@
|
||||
#define SCX_CERT_CACHE_INTERVAL 60 /* seconds */
|
||||
#define SCX_MAX_PIN_TRIALS 3
|
||||
|
||||
/* smartcard operations */
|
||||
/* smartcard operations, update copy in whack.h */
|
||||
|
||||
#ifndef SC_OP_T
|
||||
#define SC_OP_T
|
||||
typedef enum {
|
||||
SC_OP_NONE = 0,
|
||||
SC_OP_ENCRYPT = 1,
|
||||
SC_OP_DECRYPT = 2,
|
||||
SC_OP_SIGN = 3,
|
||||
} sc_op_t;
|
||||
#endif /* SC_OP_T */
|
||||
|
||||
/* smartcard record */
|
||||
|
||||
|
||||
+10
-1
@@ -19,7 +19,16 @@
|
||||
|
||||
#include <freeswan.h>
|
||||
|
||||
#include <smartcard.h>
|
||||
/* copy of smartcard operations, defined in smartcard.h */
|
||||
#ifndef SC_OP_T
|
||||
#define SC_OP_T
|
||||
typedef enum {
|
||||
SC_OP_NONE = 0,
|
||||
SC_OP_ENCRYPT = 1,
|
||||
SC_OP_DECRYPT = 2,
|
||||
SC_OP_SIGN = 3,
|
||||
} sc_op_t;
|
||||
#endif /* SC_OP_T */
|
||||
|
||||
/* Since the message remains on one host, native representation is used.
|
||||
* Think of this as horizontal microcode: all selected operations are
|
||||
|
||||
Reference in New Issue
Block a user