From: Klas Lindfors Date: Fri, 7 Jun 2013 12:12:25 +0000 (+0200) Subject: raise NONE from 0 to 1 to make empty the default X-Git-Tag: v1.14.0~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8452607b1f6c35c95f12f887f6c69849689cd8fd;p=yubikey-personalization raise NONE from 0 to 1 to make empty the default --- diff --git a/ykpers.h b/ykpers.h index e9047b6..8b96d6c 100644 --- a/ykpers.h +++ b/ykpers.h @@ -186,9 +186,9 @@ int ykp_import_config(YKP_CONFIG *cfg, const char *buf, size_t len, int format); void ykp_set_acccode_type(YKP_CONFIG *cfg, unsigned int type); unsigned int ykp_get_acccode_type(const YKP_CONFIG *cfg); -#define YKP_ACCCODE_NONE 0x00 -#define YKP_ACCCODE_RANDOM 0x01 -#define YKP_ACCCODE_SERIAL 0x02 +#define YKP_ACCCODE_NONE 0x01 +#define YKP_ACCCODE_RANDOM 0x02 +#define YKP_ACCCODE_SERIAL 0x03 extern int * _ykp_errno_location(void); #define ykp_errno (*_ykp_errno_location())