diff options
author | Yuri Chornoivan <[email protected]> | 2017-02-20 21:19:50 +0000 |
---|---|---|
committer | Daniel Kahn Gillmor <[email protected]> | 2017-02-21 18:11:46 +0000 |
commit | 24cf0606b43038c7ce5e9c6ccb921895619c04f0 (patch) | |
tree | 4888dfeb4ed52052e71158b948499b12b4b04ec9 /scd | |
parent | dirmngr: Add special treatment for the standard hkps pool to ntbtls. (diff) | |
download | gnupg-24cf0606b43038c7ce5e9c6ccb921895619c04f0.tar.gz gnupg-24cf0606b43038c7ce5e9c6ccb921895619c04f0.zip |
Clean up word replication.
--
This fixes extra word repetitions (like "the the" or "is is") in the
code and docs.
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'scd')
-rw-r--r-- | scd/apdu.c | 2 | ||||
-rw-r--r-- | scd/app-dinsig.c | 2 | ||||
-rw-r--r-- | scd/app-geldkarte.c | 2 | ||||
-rw-r--r-- | scd/app-nks.c | 2 | ||||
-rw-r--r-- | scd/app-openpgp.c | 4 | ||||
-rw-r--r-- | scd/ccid-driver.c | 4 | ||||
-rw-r--r-- | scd/command.c | 6 |
7 files changed, 11 insertions, 11 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index 82d53b1fa..9df1572f5 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -2017,7 +2017,7 @@ open_pcsc_reader_wrapped (const char *portstr) unsigned int dummy_status; /* Note that we use the constant and not the function because this - code won't be be used under Windows. */ + code won't be used under Windows. */ const char *wrapperpgm = GNUPG_LIBEXECDIR "/gnupg-pcsc-wrapper"; if (access (wrapperpgm, X_OK)) diff --git a/scd/app-dinsig.c b/scd/app-dinsig.c index 3f99e2e5b..99e4f00db 100644 --- a/scd/app-dinsig.c +++ b/scd/app-dinsig.c @@ -416,7 +416,7 @@ do_sign (app_t app, const char *keyidstr, int hashalgo, return gpg_error (GPG_ERR_INV_VALUE); /* Check that the provided ID is vaid. This is not really needed - but we do it to to enforce correct usage by the caller. */ + but we do it to enforce correct usage by the caller. */ if (strncmp (keyidstr, "DINSIG.", 7) ) return gpg_error (GPG_ERR_INV_ID); keyidstr += 7; diff --git a/scd/app-geldkarte.c b/scd/app-geldkarte.c index e3c7dcc62..c2771719d 100644 --- a/scd/app-geldkarte.c +++ b/scd/app-geldkarte.c @@ -288,7 +288,7 @@ app_select_geldkarte (app_t app) goto leave; /* Read the first record of EF_ID (SFI=0x17). We require this - record to be at least 24 bytes with the the first byte 0x67 and a + record to be at least 24 bytes with the first byte 0x67 and a correct filler byte. */ err = iso7816_read_record (slot, 1, 1, ((0x17 << 3)|4), &result, &resultlen); if (err) diff --git a/scd/app-nks.c b/scd/app-nks.c index a6487c4b0..4442a100b 100644 --- a/scd/app-nks.c +++ b/scd/app-nks.c @@ -1004,7 +1004,7 @@ do_decipher (app_t app, const char *keyidstr, return gpg_error (GPG_ERR_INV_VALUE); /* Check that the provided ID is valid. This is not really needed - but we do it to to enforce correct usage by the caller. */ + but we do it to enforce correct usage by the caller. */ if (!strncmp (keyidstr, "NKS-NKS3.", 9) ) ; else if (!strncmp (keyidstr, "NKS-DF01.", 9) ) diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c index 71c9e1b83..608e3ccbc 100644 --- a/scd/app-openpgp.c +++ b/scd/app-openpgp.c @@ -619,7 +619,7 @@ count_bits (const unsigned char *a, size_t len) The lsb is here the rightmost bit. Defined flags bits are: Bit 0 = CHV1 and CHV2 are not syncronized - Bit 1 = CHV2 has been been set to the default PIN of "123456" + Bit 1 = CHV2 has been set to the default PIN of "123456" (this implies that bit 0 is also set). P=<pinpad-request> @@ -1874,7 +1874,7 @@ check_pinpad_request (app_t app, pininfo_t *pininfo, int admin_pin) } -/* Verify a CHV either using using the pinentry or if possible by +/* Verify a CHV either using the pinentry or if possible by using a pinpad. PINCB and PINCB_ARG describe the usual callback for the pinentry. CHVNO must be either 1 or 2. SIGCOUNT is only used with CHV1. PINVALUE is the address of a pointer which will diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 1a01ff0a1..40b25991e 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -961,7 +961,7 @@ parse_ccid_descriptor (ccid_driver_t handle, unsigned short bcd_device, The 0x5117 - SCR 3320 USB ID-000 reader seems to be very slow but enabling this workaround boosts the - performance to a a more or less acceptable level (tested by David). + performance to a more or less acceptable level (tested by David). */ if (handle->id_vendor == VENDOR_SCM @@ -1302,7 +1302,7 @@ scan_or_find_usb_device (int scan_mode, With READERNO >= 0 or READERID is not NULL find mode is used. This uses the same algorithm as the scan mode but stops and returns at - the entry number READERNO and return the handle for the the opened + the entry number READERNO and return the handle for the opened USB device. If R_RID is not NULL it will receive the reader ID of that device. If R_DEV is not NULL it will the device pointer of that device. If IFCDESC_EXTRA is NOT NULL it will receive a diff --git a/scd/command.c b/scd/command.c index 5b7ddc867..b1d5539cb 100644 --- a/scd/command.c +++ b/scd/command.c @@ -900,7 +900,7 @@ cmd_getattr (assuan_context_t ctx, char *line) static const char hlp_setattr[] = "SETATTR <name> <value> \n" "\n" - "This command is used to store data on a a smartcard. The allowed\n" + "This command is used to store data on a smartcard. The allowed\n" "names and values are depend on the currently selected smartcard\n" "application. NAME and VALUE must be percent and '+' escaped.\n" "\n" @@ -954,7 +954,7 @@ static const char hlp_writecert[] = "application. The actual certifciate is requested using the inquiry\n" "\"CERTDATA\" and needs to be provided in its raw (e.g. DER) form.\n" "\n" - "In almost all cases a a PIN will be requested. See the related\n" + "In almost all cases a PIN will be requested. See the related\n" "writecert function of the actually used application (app-*.c) for\n" "details."; static gpg_error_t @@ -1007,7 +1007,7 @@ cmd_writecert (assuan_context_t ctx, char *line) static const char hlp_writekey[] = "WRITEKEY [--force] <keyid> \n" "\n" - "This command is used to store a secret key on a a smartcard. The\n" + "This command is used to store a secret key on a smartcard. The\n" "allowed keyids depend on the currently selected smartcard\n" "application. The actual keydata is requested using the inquiry\n" "\"KEYDATA\" and need to be provided without any protection. With\n" |