aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-02-14 15:11:06 +0000
committerWerner Koch <[email protected]>2016-02-14 15:11:06 +0000
commit772f6b29b557e4e80353bc48e34d7214be895f33 (patch)
tree3af71623ffd7ada081867b504208c7fe47384786
parentgpg: Add hidden key-edit subcommand "change-usage". (diff)
downloadgnupg-772f6b29b557e4e80353bc48e34d7214be895f33.tar.gz
gnupg-772f6b29b557e4e80353bc48e34d7214be895f33.zip
Put asterisks in front of two function descriptions.
-- This helps visual impaired hackers to easier read comments and also helps use when looking at a printout.
-rw-r--r--g10/seskey.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/g10/seskey.c b/g10/seskey.c
index 507eea111..561118aa4 100644
--- a/g10/seskey.c
+++ b/g10/seskey.c
@@ -32,10 +32,10 @@
/* Generate a new session key in *DEK that is appropriate for the
- algorithm DEK->ALGO (i.e., ensure that the key is not weak).
-
- This function overwrites DEK->KEYLEN, DEK->KEY. The rest of the
- fields are left as is. */
+ * algorithm DEK->ALGO (i.e., ensure that the key is not weak).
+ *
+ * This function overwrites DEK->KEYLEN, DEK->KEY. The rest of the
+ * fields are left as is. */
void
make_session_key( DEK *dek )
{
@@ -70,11 +70,11 @@ make_session_key( DEK *dek )
/* Encode the session key stored in DEK as an MPI in preparation to
- encrypt it with the public key algorithm OPENPGP_PK_ALGO with a key
- whose length (the size of the public key) is NBITS.
-
- On success, returns an MPI, which the caller must free using
- gcry_mpi_release(). */
+ * encrypt it with the public key algorithm OPENPGP_PK_ALGO with a key
+ * whose length (the size of the public key) is NBITS.
+ *
+ * On success, returns an MPI, which the caller must free using
+ * gcry_mpi_release(). */
gcry_mpi_t
encode_session_key (int openpgp_pk_algo, DEK *dek, unsigned int nbits)
{