Home GnuPG

mpi: Remove useless condition.
0a9cdb8ae092Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

mpi: Remove useless condition.

* mpi/mpi-pow.c: Remove condition rp==mp.

MP has already been allocated and thus can't match RP. The followinf
assert would have been triggred anyway due to the prior allocation.

Detected by Stack 0.3.

Details

Provenance
wernerAuthored on Mar 16 2015, 9:29 AM
Parents
rCfbb97dcf763e: cipher: Remove useless NULL check.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC0a9cdb8ae092: mpi: Remove useless condition. (authored by Werner Koch <wk@gnupg.org>).Mar 16 2015, 9:31 AM