fix inconsistent flen check in rsa_pk1 and rsa_oaep
authorMansour Ahmadi <m.ahmadi@northeastern.edu>
Tue, 11 Dec 2018 22:26:50 +0000 (17:26 -0500)
committerMatt Caswell <matt@openssl.org>
Thu, 13 Dec 2018 09:48:50 +0000 (09:48 +0000)
commit5db5edc99a8386516da06f8078e5134ccd65a64b
tree2ad6f6e9216ab16d6af937dedabd043814a06cc8
parent4abca7e9f37c8b6cfc0e5fe1fd7b624e2f14b751
fix inconsistent flen check in rsa_pk1 and rsa_oaep

Fixes #7117

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7880)

(cherry picked from commit 4fea7005c3d08ed0d575bdea5082b7b0ce355237)
crypto/rsa/rsa_pk1.c