diff options
author | NIIBE Yutaka <[email protected]> | 2019-11-20 08:20:22 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2020-05-04 01:57:08 +0000 |
commit | c31fd447373d210fd0aaa577908714f5012e01fb (patch) | |
tree | 59fe4dc2720c193a8dd6c201afe040c8129fa06c /g10/parse-packet.c | |
parent | Add sos_read. (diff) | |
download | gnupg-c31fd447373d210fd0aaa577908714f5012e01fb.tar.gz gnupg-c31fd447373d210fd0aaa577908714f5012e01fb.zip |
gpg: Use GCRYMPI_FLAG_USER2 for SOS, and hash_public_key with that.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r-- | g10/parse-packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c index c6037d755..54ce04abb 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -234,6 +234,7 @@ sos_read (iobuf_t inp, unsigned int *ret_nread, int secure) } a = gcry_mpi_set_opaque (NULL, buf, nbits); + gcry_mpi_set_flag (a, GCRYMPI_FLAG_USER2); *ret_nread = nread; return a; |