help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] fix for documentation of gnutls_x509_crt_get_pk_rsa_raw in


From: Daniel Kahn Gillmor
Subject: [Help-gnutls] fix for documentation of gnutls_x509_crt_get_pk_rsa_raw in lib/x509/x509.c
Date: Wed, 05 Dec 2007 11:41:21 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

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 address@hidden 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 address@hidden lib]$ 

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

Thanks for the great tool!

Regards,

        --dkg

Attachment: pgpX_qXyHP9g_.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]