From: Guus Sliepen Date: Sat, 19 Dec 2009 21:17:39 +0000 (+0100) Subject: Fix alignment of results of RSA operations when using libgcrypt. X-Git-Tag: release-1.1pre1~87 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=f542ef8f9e645bf30e11e196dd768fac4f957eac;hp=f542ef8f9e645bf30e11e196dd768fac4f957eac;p=tinc Fix alignment of results of RSA operations when using libgcrypt. If the result of an RSA encryption or decryption operation can be represented in less bytes than given, gcry_mpi_print() will not add leading zero bytes. Fix this by adding those ourself. ---