rsa: replace magic number '11' by RSA_PKCS1_PADDING_SIZE
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 3 Oct 2019 12:20:52 +0000 (14:20 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 3 Oct 2019 12:38:57 +0000 (14:38 +0200)
commit1a9a56865cb66d9fca067ba00d0e030f4b6974aa
treeb7bd543f0d367b3ba25196bbefa02032ae105ff0
parent6f3ccda84fb0995166252cc0db2ff3df17539b2b
rsa: replace magic number '11' by RSA_PKCS1_PADDING_SIZE

Suggested by Matt Hart

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10084)

(cherry picked from commit f1d1903dd3dd1d68a5eae190b8c2a88bfe0a68ac)
crypto/rsa/rsa_pk1.c
crypto/rsa/rsa_ssl.c