Changeset 3510 for trunk/src/tests
- Timestamp:
- 05/05/08 13:00:01 (8 months ago)
- Location:
- trunk/src/tests
- Files:
-
- 2 modified
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)); -
trunk/src/tests/sc-test.h
r3182 r3510 14 14 15 15 int sc_test_init(int *argc, char *argv[]); 16 void sc_test_cleanup( );16 void sc_test_cleanup(void); 17 17 void sc_test_print_card(const sc_pkcs15_card_t *); 18 18 void sc_test_print_object(const struct sc_pkcs15_object *);
