diff options
-rw-r--r-- | p11-kit/pin.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/p11-kit/pin.h b/p11-kit/pin.h index bc342b1..3b6806d 100644 --- a/p11-kit/pin.h +++ b/p11-kit/pin.h @@ -44,12 +44,12 @@ extern "C" { typedef struct p11_kit_pin P11KitPin; typedef enum { - P11_KIT_PIN_FLAGS_USER_LOGIN = 1, - P11_KIT_PIN_FLAGS_SO_LOGIN = 2, - P11_KIT_PIN_FLAGS_CONTEXT_LOGIN = 4, - P11_KIT_PIN_FLAGS_RETRY = 10, - P11_KIT_PIN_FLAGS_MANY_TRIES = 20, - P11_KIT_PIN_FLAGS_FINAL_TRY = 40 + P11_KIT_PIN_FLAGS_USER_LOGIN = 1<<0, + P11_KIT_PIN_FLAGS_SO_LOGIN = 1<<1, + P11_KIT_PIN_FLAGS_CONTEXT_LOGIN = 1<<2, + P11_KIT_PIN_FLAGS_RETRY = 1<<3, + P11_KIT_PIN_FLAGS_MANY_TRIES = 1<<4, + P11_KIT_PIN_FLAGS_FINAL_TRY = 1<<5 } P11KitPinFlags; #define P11_KIT_PIN_FALLBACK "" |