diff options
author | Niels Möller <nisse@lysator.liu.se> | 2018-03-17 17:25:03 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2018-03-17 17:25:03 +0100 |
commit | 8bf4747d9cca7fd2cdd6ca8e14bce7cb334b2a7a (patch) | |
tree | 033f2fa114c78e37c591c1c2e29a2151d08bb127 /ecc-curve.h | |
parent | 8c210b4e53b8566faea7ff0a175ad323236dd5d2 (diff) | |
download | nettle-8bf4747d9cca7fd2cdd6ca8e14bce7cb334b2a7a.tar.gz |
Add leading underscore to data symbols.rename-data-symbols
Diffstat (limited to 'ecc-curve.h')
-rw-r--r-- | ecc-curve.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ecc-curve.h b/ecc-curve.h index c08479ab..10d491d4 100644 --- a/ecc-curve.h +++ b/ecc-curve.h @@ -41,14 +41,11 @@ extern "C" { /* The contents of this struct is internal. */ struct ecc_curve; -/* FIXME: Rename with leading underscore. Due to ABI subtleties, - applications should not refer to these directly, but use the below - accessor functions. */ -extern const struct ecc_curve nettle_secp_192r1; -extern const struct ecc_curve nettle_secp_224r1; -extern const struct ecc_curve nettle_secp_256r1; -extern const struct ecc_curve nettle_secp_384r1; -extern const struct ecc_curve nettle_secp_521r1; +extern const struct ecc_curve _nettle_secp_192r1; +extern const struct ecc_curve _nettle_secp_224r1; +extern const struct ecc_curve _nettle_secp_256r1; +extern const struct ecc_curve _nettle_secp_384r1; +extern const struct ecc_curve _nettle_secp_521r1; #ifdef __GNUC__ #define NETTLE_PURE __attribute__((pure)) |