]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Doc fix.
authorSimon Josefsson <simon@josefsson.org>
Wed, 17 Feb 2010 16:57:42 +0000 (17:57 +0100)
committerSimon Josefsson <simon@josefsson.org>
Wed, 17 Feb 2010 16:57:42 +0000 (17:57 +0100)
lib/openpgp/gnutls_openpgp.c

index 511c4d7374b7e7c32a7b05e350fa92d868bc9b61..d9c498a4472ea8837f33a90d289029ba9db47621 100644 (file)
@@ -295,7 +295,6 @@ gnutls_certificate_set_openpgp_key_mem (gnutls_certificate_credentials_t res,
                                                  NULL, format);
 }
 
-
 /**
  * gnutls_certificate_set_openpgp_key_file:
  * @res: the destination context to save the data.
@@ -438,7 +437,6 @@ gnutls_certificate_set_openpgp_key_mem2 (gnutls_certificate_credentials_t res,
   return ret;
 }
 
-
 /**
  * gnutls_certificate_set_openpgp_key_file2:
  * @res: the destination context to save the data.
@@ -551,7 +549,6 @@ gnutls_openpgp_count_key_names (const gnutls_datum_t * cert)
   return nuids;
 }
 
-
 /**
  * gnutls_certificate_set_openpgp_keyring_file:
  * @c: A certificate credentials structure
@@ -911,7 +908,6 @@ _gnutls_openpgp_crt_to_gcert (gnutls_cert * gcert, gnutls_openpgp_crt_t cert)
 
 }
 
-
 /**
  * gnutls_openpgp_privkey_sign_hash:
  * @key: Holds the key
@@ -919,8 +915,8 @@ _gnutls_openpgp_crt_to_gcert (gnutls_cert * gcert, gnutls_openpgp_crt_t cert)
  * @signature: will contain newly allocated signature
  *
  * This function will sign the given hash using the private key.  You
- * should use gnutls_openpgp_privkey_set_subkey() before calling this
- * function to set the subkey to use.
+ * should use gnutls_openpgp_privkey_set_preferred_key_id() before
+ * calling this function to set the subkey to use.
  *
  * Returns: On success, %GNUTLS_E_SUCCESS is returned, otherwise a
  *   negative error value.