Build fixes
Various build fixes, mostly uncovered by clang's unused-const-variable
and unused-function errors.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Emilia Kasper
9 years ago
67 | 67 |
|
68 | 68 |
#include "ec_lcl.h"
|
69 | 69 |
|
70 | |
static const char EC_version[] = "EC" OPENSSL_VERSION_PTEXT;
|
|
70 |
const char EC_version[] = "EC" OPENSSL_VERSION_PTEXT;
|
71 | 71 |
|
72 | 72 |
|
73 | 73 |
/* functions for EC_GROUP objects */
|
112 | 112 |
|
113 | 113 |
/* This is the value of the prime as four 64-bit words, little-endian. */
|
114 | 114 |
static const u64 kPrime[4] = { 0xfffffffffffffffful, 0xffffffff, 0, 0xffffffff00000001ul };
|
115 | |
static const limb bottom32bits = 0xffffffff;
|
116 | 115 |
static const u64 bottom63bits = 0x7ffffffffffffffful;
|
117 | 116 |
|
118 | 117 |
/* bin32_to_felem takes a little-endian byte array and converts it into felem
|
113 | 113 |
ENGINE_CMD_FLAG_NO_INPUT},
|
114 | 114 |
{0, NULL, NULL, 0}
|
115 | 115 |
};
|
116 | |
static const ENGINE_CMD_DEFN dynamic_cmd_defns_empty[] = {
|
117 | |
{0, NULL, NULL, 0}
|
118 | |
};
|
119 | 116 |
|
120 | 117 |
/* Loading code stores state inside the ENGINE structure via the "ex_data"
|
121 | 118 |
* element. We load all our state into a single structure and use that as a
|