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:43:07 +0000 (09:43 +0000)
commit4fea7005c3d08ed0d575bdea5082b7b0ce355237
treea1a96fc21ee11125e8e8d08fedba3ccca5f26ac2
parentee4afacd96f5bfbe7662c8f0ec4464c6eee4c450
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)
crypto/rsa/rsa_pk1.c