Extract key length check into a new function, and check more fields.
In the openssl that I have, it should be safe to only check the size of n. But if I'm wrong, or if other openssls work differently, we should check whether any of the fields are too large. Issue spotted by Teor.
parent
29c9675b
Please register or sign in to comment