Browse Source

remove GCC error

master
Mike Hamburg 10 years ago
parent
commit
8e10a91976
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      include/decaf.h

+ 2
- 1
include/decaf.h View File

@@ -46,7 +46,8 @@ typedef struct decaf_scalar_s {
static const decaf_bool_t DECAF_TRUE = -(decaf_bool_t)1, DECAF_FALSE = 0;

/** NB Success is -1, failure is 0. TODO: see if people would rather the reverse. */
static const decaf_bool_t DECAF_SUCCESS = DECAF_TRUE, DECAF_FAILURE = DECAF_FALSE;
static const decaf_bool_t DECAF_SUCCESS = -(decaf_bool_t)1 /*DECAF_TRUE*/,
DECAF_FAILURE = 0 /*DECAF_FALSE*/;

/** The identity point on the curve. */
const decaf_point_t decaf_identity;


Loading…
Cancel
Save