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>
Fri, 30 Nov 2018 12:51:58 +0000 (12:51 +0000)
commitdb1b63f45c8585c9c7741e0540c01baad22aa190
tree9171ebd4c9a5c502d5439273753dd346e6a52de6
parent382448f33757d96a65207c8e9b55fadf45517e57
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)
crypto/rsa/rsa_pk1.c
doc/man3/RSA_padding_add_PKCS1_type_1.pod