From 2fb0392bb14d58e4213d31f6ba14b49d991d1cd5 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sun, 21 Apr 2013 10:00:20 +0200 Subject: [PATCH] algos_sig: missing positive returns --- src/algos_sig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/algos_sig.cpp b/src/algos_sig.cpp index e77277a..f017555 100644 --- a/src/algos_sig.cpp +++ b/src/algos_sig.cpp @@ -216,6 +216,7 @@ int algo_fmtseq128::create_keypair (sencode**pub, sencode**priv, prng&rng) *pub = Pub.serialize(); *priv = Priv.serialize(); + return 0; } int algo_fmtseq256::create_keypair (sencode**pub, sencode**priv, prng&rng) @@ -230,5 +231,6 @@ int algo_fmtseq256::create_keypair (sencode**pub, sencode**priv, prng&rng) *pub = Pub.serialize(); *priv = Priv.serialize(); + return 0; }