mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Clean up "allow to"
* README, cipher/cipher.c, cipher/pubkey.c, doc/gpg.texi: replace "allow to" with clearer text In standard English, the normal construction is "${XXX} allows ${YYY} to" -- that is, the subject (${XXX}) of the sentence is allowing the object (${YYY}) to do something. When the object is missing, the phrasing sounds awkward, even if the object is implied by context. There's almost always a better construction that isn't as awkward. These changes should make the language a bit clearer. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
1820889e3c
commit
15d1327234
4 changed files with 7 additions and 7 deletions
|
@ -586,7 +586,7 @@ do_cfb_encrypt( CIPHER_HANDLE c, byte *outbuf, byte *inbuf, unsigned nbytes )
|
|||
|
||||
/* Now we can process complete blocks. We use a loop as long as we
|
||||
have at least 2 blocks and use conditions for the rest. This
|
||||
also allows to use a bulk encryption function if available. */
|
||||
also allows use of a bulk encryption function if available. */
|
||||
#ifdef USE_AES
|
||||
if (nbytes >= blocksize_x_2
|
||||
&& (c->algo == CIPHER_ALGO_AES
|
||||
|
@ -677,7 +677,7 @@ do_cfb_decrypt( CIPHER_HANDLE c, byte *outbuf, byte *inbuf, unsigned nbytes )
|
|||
|
||||
/* Now we can process complete blocks. We use a loop as long as we
|
||||
have at least 2 blocks and use conditions for the rest. This
|
||||
also allows to use a bulk encryption function if available. */
|
||||
also allows use of a bulk encryption function if available. */
|
||||
#ifdef USE_AES
|
||||
if (nbytes >= blocksize_x_2
|
||||
&& (c->algo == CIPHER_ALGO_AES
|
||||
|
|
|
@ -276,7 +276,7 @@ check_pubkey_algo2( int algo, unsigned use )
|
|||
int i;
|
||||
|
||||
/* Map type 20 Elgamal algorithm to type 16 if it is used for
|
||||
decryption. This allows to use legacy type 20 Elgamal keys for
|
||||
decryption. This allows use of legacy type 20 Elgamal keys for
|
||||
decryption. */
|
||||
if (algo == PUBKEY_ALGO_ELGAMAL && use == PUBKEY_USAGE_ENC)
|
||||
algo = PUBKEY_ALGO_ELGAMAL_E;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue