aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-07-24 14:16:53 +0000
committerWerner Koch <[email protected]>2014-07-25 08:56:51 +0000
commit07b64eec14d4f62b6d88c11b57d3f9973acfc696 (patch)
treebffd976b77eae916b4c58bd9774cb0e7a1759e5d
parentscd: Support for SmartCard-HSM (diff)
downloadgnupg-07b64eec14d4f62b6d88c11b57d3f9973acfc696.tar.gz
gnupg-07b64eec14d4f62b6d88c11b57d3f9973acfc696.zip
scd: Comment typo fixes.
--
-rw-r--r--scd/app-p15.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/scd/app-p15.c b/scd/app-p15.c
index 1e922e722..cc407afab 100644
--- a/scd/app-p15.c
+++ b/scd/app-p15.c
@@ -698,7 +698,7 @@ read_ef_odf (app_t app, unsigned short odf_fid)
}
-/* Parse the BIT STRING with the keyUsageFlags from teh
+/* Parse the BIT STRING with the keyUsageFlags from the
CommonKeyAttributes. */
static gpg_error_t
parse_keyusage_flags (const unsigned char *der, size_t derlen,
@@ -2405,7 +2405,7 @@ keygripstr_from_prkdf (app_t app, prkdf_object_t prkdf, char *r_gripstr)
a matching certificate and extract the key from there. */
/* Look for a matching certificate. A certificate matches if the Id
- matches the obne of the private key info. */
+ matches the one of the private key info. */
for (cdf = app->app_local->certificate_info; cdf; cdf = cdf->next)
if (cdf->objidlen == prkdf->objidlen
&& !memcmp (cdf->objid, prkdf->objid, prkdf->objidlen))
@@ -2443,7 +2443,7 @@ keygripstr_from_prkdf (app_t app, prkdf_object_t prkdf, char *r_gripstr)
/* Helper to do_learn_status: Send information about all known
keypairs back. FIXME: much code duplication from
- send_sertinfo(). */
+ send_certinfo(). */
static gpg_error_t
send_keypairinfo (app_t app, ctrl_t ctrl, prkdf_object_t keyinfo)
{
@@ -2642,7 +2642,7 @@ readcert_by_cdf (app_t app, cdf_object_t cdf,
the CERTINFO status lines) and return it in the freshly allocated
buffer to be stored at R_CERT and its length at R_CERTLEN. A error
code will be returned on failure and R_CERT and R_CERTLEN will be
- set to NULL/0. */
+ set to (NULL,0). */
static gpg_error_t
do_readcert (app_t app, const char *certid,
unsigned char **r_cert, size_t *r_certlen)
@@ -2654,7 +2654,7 @@ do_readcert (app_t app, const char *certid,
*r_certlen = 0;
err = cdf_object_from_certid (app, certid, &cdf);
if (!err)
- err =readcert_by_cdf (app, cdf, r_cert, r_certlen);
+ err = readcert_by_cdf (app, cdf, r_cert, r_certlen);
return err;
}