diff --git a/openssl/src/rsa.rs b/openssl/src/rsa.rs index 792f7070..31e1a349 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 ///