[Help-gnutls] fix for documentation of gnutls_x509_crt_get_pk_rsa_raw in lib/x509/x509.c

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Wed Dec 5 17:41:21 CET 2007


Hey folks--

Just learning my way around the GnuTLS codebase, and stumbled across
what looks like a think-o in the documentation.  Hopefully this the
correct fix.

[0 dkg at squeak lib]$ git diff | cat
diff --git a/lib/x509/x509.c b/lib/x509/x509.c
index a60e909..19e53ce 100644
--- a/lib/x509/x509.c
+++ b/lib/x509/x509.c
@@ -2502,7 +2502,7 @@ gnutls_x509_crt_get_key_purpose_oid (gnutls_x509_crt_t cert,
   * @m: will hold the modulus
   * @e: will hold the public exponent
   *
-  * This function will export the RSA private key's parameters found in the given
+  * This function will export the RSA public key's parameters found in the given
   * structure. The new parameters will be allocated using
   * gnutls_malloc() and will be stored in the appropriate datum.
   * 
[0 dkg at squeak lib]$ 

Full copyright assignment to the FSF of this amazing patch is fine
with me ;)

Thanks for the great tool!

Regards,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available
URL: </pipermail/attachments/20071205/92c36bb9/attachment.pgp>


More information about the Gnutls-help mailing list