]> git.cryptolib.org Git - avr-crypto-lib.git/commitdiff
fix of a little bug
authorbg <bg@b1d182e4-1ff8-0310-901f-bddb46175740>
Thu, 3 Apr 2008 16:44:51 +0000 (16:44 +0000)
committerbg <bg@b1d182e4-1ff8-0310-901f-bddb46175740>
Thu, 3 Apr 2008 16:44:51 +0000 (16:44 +0000)
nessie_bc_test.c

index 66147356e49d3f33b4a0c22d15584b43009ebd8c..fdad8e19d2578f45944a400769b306ca7c8428df 100644 (file)
@@ -117,7 +117,7 @@ static void print_set_vector(uint8_t set, uint16_t vector){
        uart_putc('0'+set%10);
        uart_putstr_P(PSTR(", vector#"));
        uart_putc((vector<100)?' ':'0'+vector/100);
-       uart_putc((vector<100)?' ':'0'+(vector/10)%10);
+       uart_putc((vector<10 )?' ':'0'+(vector/10)%10);
        uart_putc('0'+vector%10);
        uart_putc(':');
 }