output1[16]='\0';
output2[16]='\0';
if(memcmp(output1,output2, 16)) {
+ int j;
printf("Testfall falsch; erwartet:\n\t\"%s\"\ntatsaechliches Ergebnis:\n\t\"%s\"\n", output1, output2);
+ printf("0x");
+ for(j = 0; j < 16; j++)
+ printf("%02X", output2[j]);
+ printf("\n");
} else {
printf("Testfall \"%s\" passt.\n", output1);
}