Changeset 3510 for trunk/src/tests/print.c
- Timestamp:
- 05/05/08 13:00:01 (8 months ago)
- Files:
-
- 1 modified
-
trunk/src/tests/print.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tests/print.c
r3183 r3510 96 96 { 97 97 int i; 98 size_t j; 98 99 const char *usages[] = 99 100 { … … 132 133 if (prkey->path.len) { 133 134 printf("\tPath : "); 134 for ( i = 0; i < prkey->path.len; i++)135 printf("%02X", prkey->path.value[ i]);135 for (j = 0; j < prkey->path.len; j++) 136 printf("%02X", prkey->path.value[j]); 136 137 if (prkey->path.type == SC_PATH_TYPE_PATH_PROT) 137 138 printf(" (protected)"); … … 144 145 { 145 146 int i; 147 size_t j; 146 148 const char *usages[] = 147 149 { … … 179 181 printf("\tNative : %s\n", pubkey->native ? "yes" : "no"); 180 182 printf("\tPath : "); 181 for ( i = 0; i < pubkey->path.len; i++)182 printf("%02X", pubkey->path.value[ i]);183 for (j = 0; j < pubkey->path.len; j++) 184 printf("%02X", pubkey->path.value[j]); 183 185 printf("\n"); 184 186 printf("\tID : %s\n", sc_pkcs15_print_id(&pubkey->id));
