diff --git a/tests/spc_pe_image_data.c b/tests/spc_pe_image_data.c index e014a8c..4e54d4a 100644 --- a/tests/spc_pe_image_data.c +++ b/tests/spc_pe_image_data.c @@ -62,7 +62,7 @@ int main (int argc, char** argv) NULL, &len, &etype); - if (result != ASN1_SUCCESS) { + if (result != ASN1_MEM_ERROR) { fprintf(stderr, "error in %d: %s\n", __LINE__, errorDescription); exit(1); } @@ -84,7 +84,7 @@ int main (int argc, char** argv) etype = 0; len = 0; result = asn1_read_value_type(node1, "link", NULL, &len, &etype); - if (result != ASN1_SUCCESS) + if (result != ASN1_MEM_ERROR) { fprintf(stderr, "error in %d: result is: %s\n",