algos_sig: missing positive returns
This commit is contained in:
parent
e1caed83a2
commit
2fb0392bb1
|
@ -216,6 +216,7 @@ int algo_fmtseq128::create_keypair (sencode**pub, sencode**priv, prng&rng)
|
||||||
|
|
||||||
*pub = Pub.serialize();
|
*pub = Pub.serialize();
|
||||||
*priv = Priv.serialize();
|
*priv = Priv.serialize();
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int algo_fmtseq256::create_keypair (sencode**pub, sencode**priv, prng&rng)
|
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();
|
*pub = Pub.serialize();
|
||||||
*priv = Priv.serialize();
|
*priv = Priv.serialize();
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue