der_tests.c | 19 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; local 28 LTC_SET_ASN1(list, 0, LTC_ASN1_OCTET_STRING, oct_str, sizeof(oct_str)); 51 if (memcmp(strs[0], oct_str, sizeof(oct_str))) { 52 fprintf(stderr, "error decoding set using der_decode_set (oct_str is wrong):\n"); 140 static const unsigned char oct_str[] = { 1, 2, 3, 4 }; local 159 LTC_SET_ASN1(static_list[2], 0, LTC_ASN1_OCTET_STRING, (void *)oct_str, 4); 321 /* we expect oct_str */ 332 if (l->size != sizeof(oct_str) || memcmp(oct_str, l->data, l->size)) [all...] |