rsa/rsa_pk1.c: remove memcpy calls from RSA_padding_check_PKCS1_type_2.
authorAndy Polyakov <appro@openssl.org>
Sat, 1 Sep 2018 10:00:33 +0000 (12:00 +0200)
committerMatt Caswell <matt@openssl.org>
Thu, 6 Dec 2018 11:18:35 +0000 (11:18 +0000)
commit47f8fba64353a637cacdd8751cab25a9f3be3715
treeb4cc06c5ab27392315d7545f4990596fb74654ae
parent3b776fd785efb1c0af4b28ad0b8036b23071904d
rsa/rsa_pk1.c: remove memcpy calls from RSA_padding_check_PKCS1_type_2.

And make RSAErr call unconditional.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit e875b0cf2f10bf2adf73e0c2ec81428290f4660c)

Resolved conflicts:
crypto/rsa/rsa_pk1.c

(Merged from https://github.com/openssl/openssl/pull/7737)
crypto/rsa/rsa_pk1.c
doc/crypto/RSA_padding_add_PKCS1_type_1.pod