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:32:25 +0000 (12:32 +0000)
commite875b0cf2f10bf2adf73e0c2ec81428290f4660c
tree8b4f3c4963d0e21194db798f494568dae9832d50
parent89072e0c2a483f2ad678e723e112712567b0ceb1
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>
crypto/rsa/rsa_pk1.c
doc/man3/RSA_padding_add_PKCS1_type_1.pod