From: Mark Wooding Date: Fri, 6 Feb 2015 11:06:14 +0000 (+0000) Subject: pubkey.c: Catch invalid arguments to `RSAPub' and `RSAPriv'. X-Git-Tag: 1.1.0~23 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/commitdiff_plain/61cc9665df69b0641bfd40da285acbea20c48654?hp=61cc9665df69b0641bfd40da285acbea20c48654 pubkey.c: Catch invalid arguments to `RSAPub' and `RSAPriv'. If a modulus is even, `mpmont_create' will silently fail inside `rsa_{pub,priv}create' and a later modexp will likely segfault. ---