From: Rudolf Polzer Date: Sat, 28 Aug 2010 14:26:24 +0000 (+0200) Subject: fp64 of public ID: include the public key in it! X-Git-Tag: xonotic-v0.1.0preview~34 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d9643e105daab19d374d432f3a123ce0d51a3aa2;p=xonotic%2Fd0_blind_id.git fp64 of public ID: include the public key in it! --- diff --git a/d0_blind_id.c b/d0_blind_id.c index e138642..acebb5d 100644 --- a/d0_blind_id.c +++ b/d0_blind_id.c @@ -1012,11 +1012,15 @@ WARN_UNUSED_RESULT BOOL d0_blind_id_fingerprint64_public_id(const d0_blind_id_t d0_iobuf_t *conv = NULL; size_t sz, n; + USING(rsa_n); + USING(rsa_e); USING(schnorr_g_to_s); out = d0_iobuf_open_write(outbuf, *outbuflen); conv = d0_iobuf_open_write(convbuf, sizeof(convbuf)); + CHECK(d0_iobuf_write_bignum(conv, ctx->rsa_n)); + CHECK(d0_iobuf_write_bignum(conv, ctx->rsa_e)); CHECK(d0_iobuf_write_bignum(conv, ctx->schnorr_g_to_s)); CHECK(d0_iobuf_close(conv, &sz)); conv = NULL;