From 80efaf72e69fa14b0704ccd77281f811c3d1170a Mon Sep 17 00:00:00 2001 From: Andy Gauge Date: Wed, 11 Oct 2017 13:06:52 -0700 Subject: [PATCH] DSA size returns maximum size of signature --- openssl/src/dsa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl/src/dsa.rs b/openssl/src/dsa.rs index 0f8d7943..a1f89ad2 100644 --- a/openssl/src/dsa.rs +++ b/openssl/src/dsa.rs @@ -64,7 +64,7 @@ impl DsaRef { private_key_to_der!(ffi::i2d_DSAPrivateKey); public_key_to_der!(ffi::i2d_DSAPublicKey); - /// Returns the size of the signature output by `self` in bytes. Returns + /// Returns the maximum size of the signature output by `self` in bytes. Returns /// None if the keys are uninitialized. /// /// OpenSSL documentation at [`DSA_size`]