Small documentation bug, probably a cut'n'paste, corrected.
[openssl.git] / doc / crypto / RSA_public_encrypt.pod
index 910c4752b8d5c2c0be5197f0e5f64ea2f8aa1324..02edb7aa756f882d160982010df0eda81482d98d 100644 (file)
@@ -47,7 +47,7 @@ Encrypting user data directly with RSA is insecure.
 =back
 
 B<flen> must be less than RSA_size(B<rsa>) - 11 for the PKCS #1 v1.5
-based padding modes, and less than RSA_size(B<rsa>) - 21 for
+based padding modes, and less than RSA_size(B<rsa>) - 41 for
 RSA_PKCS1_OAEP_PADDING. The random number generator must be seeded
 prior to calling RSA_public_encrypt().