aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doxyfile2
-rw-r--r--src/ecgen.c4
-rw-r--r--src/gen/order.c1
3 files changed, 4 insertions, 3 deletions
diff --git a/Doxyfile b/Doxyfile
index f95f983..10af0f3 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -38,7 +38,7 @@ PROJECT_NAME = "ecgen"
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 0.6.3
+PROJECT_NUMBER = 0.6.5
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
diff --git a/src/ecgen.c b/src/ecgen.c
index fbf6030..6311c64 100644
--- a/src/ecgen.c
+++ b/src/ecgen.c
@@ -20,7 +20,7 @@
/**
* @file ecgen.c
* @author J08nY <johny@neuromancer.sk>
- * @version 0.6.3
+ * @version 0.6.5
* @copyright GPL v2.0
*/
#include <pari/pari.h>
@@ -32,7 +32,7 @@
#include "util/timeout.h"
const char *argp_program_version =
- "ecgen 0.6.3\n"
+ "ecgen 0.6.5\n"
"Copyright (C) 2017-2018 J08nY\n"
"License GPLv2: GNU GPL version 2 (or later) "
"<http://gnu.org/licenses/gpl.html>\n"
diff --git a/src/gen/order.c b/src/gen/order.c
index 1f0d829..019ba13 100644
--- a/src/gen/order.c
+++ b/src/gen/order.c
@@ -83,6 +83,7 @@ GENERATOR(order_gen_koblitz) {
GEN order = koblitz_get_order(cfg->bits, itou(curve->a));
if (order) {
curve->order = gerepilecopy(ltop, order);
+ obj_insert_shallow(curve->curve, 1, curve->order);
} else {
GEN ord = ellff_get_card(curve->curve);
if (isclone(ord)) {