]> git.tuebingen.mpg.de Git - paraslash.git/commit
gcrypt: Introduce read_openssh_bignum().
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 29 Aug 2018 10:20:39 +0000 (12:20 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 25 Dec 2018 16:45:24 +0000 (17:45 +0100)
commit3f6b7dd0ed39f7008ec09def9239f379b87cd7c1
treed3e345c38ef7c13a5139d16ba0e656782ef18721
parent3699a583f3a7e9514c0f47b8b07f56b050430b67
gcrypt: Introduce read_openssh_bignum().

This functionality was open-coded twice in apc_get_pubkey() which
reads the two public rsa params.  Use the new function instead to
get rid of the duplication. It will be turn out to be useful for
the subsequent work which adds support for RFC4716 keys. Since the
function is specific to libgcrypt, it has to stay in gcrypt.c.
gcrypt.c