[pkg-opensc-commit] [opensc] 39/50: Typos

Eric Dorland eric at moszumanska.debian.org
Sat May 28 03:35:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository opensc.

commit ae47e06d572282cc8a5d5da501351dfb1aa48006
Author: Jakub Jelen <jjelen at redhat.com>
Date:   Thu May 12 13:15:31 2016 +0200

    Typos
---
 src/libopensc/pkcs15-algo.c | 2 +-
 src/minidriver/minidriver.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/libopensc/pkcs15-algo.c b/src/libopensc/pkcs15-algo.c
index 5ccb0a3..537cd47 100644
--- a/src/libopensc/pkcs15-algo.c
+++ b/src/libopensc/pkcs15-algo.c
@@ -421,7 +421,7 @@ static struct sc_asn1_pkcs15_algorithm_info algorithm_table[] = {
 			asn1_encode_ec_params,
 			asn1_free_ec_params },
 #endif
-/* TODO: -DEE Not clear of we need the next five or not */
+/* TODO: -DEE Not clear if we need the next five or not */
 #ifdef SC_ALGORITHM_ECDSA_SHA1
 	/* Note RFC 3279 says no ecParameters */
 	{ SC_ALGORITHM_ECDSA_SHA1, {{ 1, 2, 840, 10045, 4, 1, -1}}, NULL, NULL, NULL},
diff --git a/src/minidriver/minidriver.c b/src/minidriver/minidriver.c
index 1568e8f..8b57eff 100644
--- a/src/minidriver/minidriver.c
+++ b/src/minidriver/minidriver.c
@@ -196,8 +196,8 @@ typedef struct _VENDOR_SPECIFIC
 }VENDOR_SPECIFIC;
 
 /*
- * Windows (ex. Vista) may access the card from more the one thread.
- * The following data type and static data is an attemt to resolve
+ * Windows (ex. Vista) may access the card from more than one thread.
+ * The following data type and static data is an attempt to resolve
  * some of the encountered multi-thread issues of OpenSC
  * on the minidriver side.
  *
@@ -3832,7 +3832,7 @@ DWORD WINAPI CardSignData(__in PCARD_DATA pCardData, __inout PCARD_SIGNING_INFO
 		r = sc_pkcs15_compute_signature(vs->p15card, pkey, opt_crypt_flags, dataToSign, dataToSignLen, pbuf, lg);
 		logprintf(pCardData, 2, "sc_pkcs15_compute_signature return %d\n", r);
 		if(r < 0)   {
-			logprintf(pCardData, 2, "sc_pkcs15_compute_signature erreur %s\n", sc_strerror(r));
+			logprintf(pCardData, 2, "sc_pkcs15_compute_signature error %s\n", sc_strerror(r));
 			pCardData->pfnCspFree(pbuf);
 			return md_translate_OpenSC_to_Windows_error(r, SCARD_F_INTERNAL_ERROR);
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git



More information about the pkg-opensc-commit mailing list