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)
committerRichard Levitte <levitte@openssl.org>
Sat, 8 Dec 2018 11:56:37 +0000 (12:56 +0100)
commit43d53fa19da6809e458ebdadba6016d5fbc780a2
tree004dd3085b95191520735787f9a18d0712d89598
parentb58c44a8c1b6c7354c9c8ce4631e27f9eb977b60
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)

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