From d9643e105daab19d374d432f3a123ce0d51a3aa2 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 28 Aug 2010 16:26:24 +0200 Subject: [PATCH] fp64 of public ID: include the public key in it! --- d0_blind_id.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2