Skip to content

Commit 2b7e966

Browse files
committed
Rebase conflicts
1 parent cff1a3c commit 2b7e966

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/api/test_asn.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,8 @@ int test_wc_DecodeObjectId(void)
10331033
{
10341034
EXPECT_DECLS;
10351035

1036-
#if defined(HAVE_OID_DECODING) || defined(WOLFSSL_ASN_PRINT)
1036+
#if !defined(NO_ASN) && \
1037+
(defined(HAVE_OID_DECODING) || defined(WOLFSSL_ASN_PRINT))
10371038
{
10381039
/* OID 1.2.840.113549.1.1.11 (sha256WithRSAEncryption)
10391040
* DER encoding: 2a 86 48 86 f7 0d 01 01 0b
@@ -1097,6 +1098,7 @@ int test_wc_DecodeObjectId(void)
10971098
out, &outSz),
10981099
WC_NO_ERR_TRACE(BUFFER_E));
10991100
}
1100-
#endif /* HAVE_OID_DECODING || WOLFSSL_ASN_PRINT */
1101+
#endif /* !NO_ASN && (HAVE_OID_DECODING || WOLFSSL_ASN_PRINT) */
1102+
11011103
return EXPECT_RESULT();
11021104
}

0 commit comments

Comments
 (0)