aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/src')
-rw-r--r--openssl/src/rsa.rs2
1 files changed, 1 insertions, 1 deletions
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
///