summaryrefslogtreecommitdiffstats
path: root/ncr-key.c
diff options
context:
space:
mode:
Diffstat (limited to 'ncr-key.c')
-rw-r--r--ncr-key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ncr-key.c b/ncr-key.c
index a7019f5..35e6871 100644
--- a/ncr-key.c
+++ b/ncr-key.c
@@ -504,7 +504,7 @@ fail:
* Keysizes (2009-2010)". It maps the strength of public key algorithms to
* symmetric ones. Should be kept up to date.
*/
-struct {
+static const struct {
unsigned int bits; /* sec level */
unsigned int rsa_bits;
unsigned int dlog_bits;
@@ -519,7 +519,7 @@ struct {
{0,0,0}
};
-unsigned int rsa_to_bits(unsigned int rsa_bits)
+static unsigned int rsa_to_bits(unsigned int rsa_bits)
{
int i = 1;
@@ -538,7 +538,7 @@ int i = 1;
return ecrypt_vals[i-1].bits;
}
-unsigned int dlog_to_bits(unsigned int dlog_bits)
+static unsigned int dlog_to_bits(unsigned int dlog_bits)
{
int i = 1;