aboutsummaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/config.c7
-rw-r--r--src/misc/config.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/misc/config.c b/src/misc/config.c
new file mode 100644
index 0000000..466ec92
--- /dev/null
+++ b/src/misc/config.c
@@ -0,0 +1,7 @@
+/*
+ * ecgen, tool for generating Elliptic curve domain parameters
+ * Copyright (C) 2017 J08nY
+ */
+#include "config.h"
+
+config_t cfg; \ No newline at end of file
diff --git a/src/misc/config.h b/src/misc/config.h
index 84ee025..f93cfc3 100644
--- a/src/misc/config.h
+++ b/src/misc/config.h
@@ -100,4 +100,6 @@ typedef struct {
unsigned long hex_digits;
} config_t;
+extern config_t cfg;
+
#endif // ECGEN_CONFIG_H