summaryrefslogtreecommitdiff
path: root/src/pluto/smartcard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/smartcard.h')
-rw-r--r--src/pluto/smartcard.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pluto/smartcard.h b/src/pluto/smartcard.h
index a2978a929..69510171c 100644
--- a/src/pluto/smartcard.h
+++ b/src/pluto/smartcard.h
@@ -13,7 +13,7 @@
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
- * RCSID $Id: smartcard.h 3252 2007-10-06 21:24:50Z andreas $
+ * RCSID $Id: smartcard.h 4709 2008-11-27 10:20:25Z martin $
*/
#ifndef _SMARTCARD_H
@@ -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 */