Check-in [ebb5a279f5]
Overview
Comment:Corrected warning
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ebb5a279f53109f2ab71aeef37779b8cad770ee1
User & Date: rkeene on 2010-05-13 18:26:16
Other Links: manifest | tags
Context
2010-05-13
18:57
Updated to pad CAC PIN, as from CoolKey check-in: 95a0d07484 user: rkeene tags: trunk
18:26
Corrected warning check-in: ebb5a279f5 user: rkeene tags: trunk
18:24
Fixed issues with PIN handling check-in: 780bd59a25 user: rkeene tags: trunk
Changes

Modified test.c from [a3fe09560a] to [5989078539].

271
272
273
274
275
276
277
278

279
280
281
282
283
284
285
271
272
273
274
275
276
277

278
279
280
281
282
283
284
285







-
+







			while (fgets_ret == NULL) {
				printf("** ENTER PIN: ");
				fflush(stdout);

				fgets_ret = fgets((char *) user_pin, sizeof(user_pin), stdin);
			}

			if (strlen(user_pin) >= 1) {
			if (strlen((char *) user_pin) >= 1) {
				while (user_pin[strlen((char *) user_pin) - 1] < ' ') {
					user_pin[strlen((char *) user_pin) - 1] = '\0';
				}
			}

			chk_rv = C_Login(hSession, CKU_USER, user_pin, strlen((char *) user_pin));
		} else {