diff --git a/openssl/src/rsa.rs b/openssl/src/rsa.rs index 792f70709f7344992bd09a663960d472f2959862..31e1a3490d999560ef743a16ee842f3605c348b6 100644 --- a/openssl/src/rsa.rs +++ b/openssl/src/rsa.rs @@ -126,7 +126,7 @@ impl RsaRef { } } - /// Encrypts data using the private key, returning the number of encrypted bytes. + /// Encrypts data using the public key, returning the number of encrypted bytes. /// /// # Panics ///