Hello, again,

I wrote:
> * cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Remove bogus check
> for VALUELEN.

I withdraw the proposal of this patch.


Jacob Bachmeyer <jcb62...@gmail.com> wrote:
> NACK!  NACK!  NACK!

Thank you for your feedback.

Looking the commit log and other use cases, I learned that it is the
check when we use opaque MPI; Internally, when MPI is opaque, it holds a
information of number of bits.

The check:

        8*VALUELEN < VALUELEN

detects the case where it cannot be represented by an opaque MPI.
-- 

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel

Reply via email to