Fix rsa -check option
authorPaul Yang <yang.yang@baishancloud.com>
Fri, 28 Jul 2017 16:24:27 +0000 (00:24 +0800)
committerRich Salz <rsalz@openssl.org>
Fri, 28 Jul 2017 18:08:23 +0000 (14:08 -0400)
commit49616d925251a8d38ef2af55d045a778215a7b55
treeba96994fc3609b7ee727f584f3965e14a2141d8b
parent400617e80969c32937cb013af4365a99db4fd12f
Fix rsa -check option

original problem: if a private key is invaild, nothing outputted.

the error filter in apps/rsa.c is not working any more.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4043)

(cherry picked from commit 03883e7e168b0f5ef52a516eeb86346b767e0298)
apps/rsa.c