1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00

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.
This commit is contained in:
Werner Koch 2016-02-14 16:11:06 +01:00
parent 9b28b82e7c
commit 772f6b29b5
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -32,10 +32,10 @@
/* Generate a new session key in *DEK that is appropriate for the /* Generate a new session key in *DEK that is appropriate for the
algorithm DEK->ALGO (i.e., ensure that the key is not weak). * algorithm DEK->ALGO (i.e., ensure that the key is not weak).
*
This function overwrites DEK->KEYLEN, DEK->KEY. The rest of the * This function overwrites DEK->KEYLEN, DEK->KEY. The rest of the
fields are left as is. */ * fields are left as is. */
void void
make_session_key( DEK *dek ) 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 /* 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 * encrypt it with the public key algorithm OPENPGP_PK_ALGO with a key
whose length (the size of the public key) is NBITS. * whose length (the size of the public key) is NBITS.
*
On success, returns an MPI, which the caller must free using * On success, returns an MPI, which the caller must free using
gcry_mpi_release(). */ * gcry_mpi_release(). */
gcry_mpi_t gcry_mpi_t
encode_session_key (int openpgp_pk_algo, DEK *dek, unsigned int nbits) encode_session_key (int openpgp_pk_algo, DEK *dek, unsigned int nbits)
{ {