Ah, sorry then, I may have been wrong. The forward declaration that's
actually needed seems to be this (one for each applicable type):
DECLARE_ASN1_ITEM(TEST)
(I'm digging through the ASN.1 stuff myself, slowly learning)
Cheers,
Richard
In message <0089b413-278e-34b1-32b3-2e71b48e5...@open
Hi Richard, all,
I tried to do the forward declaration also for the TEST_SIGNATURE
together with the TEST one, but that did not really work :( It is still
complaining about the use of 'sizeof' on an incomplete type. In
particular, the two errors are:
src/ocspv2/: error: use of undecla
In message on Fri, 1 Dec 2017
20:22:09 -0700, "Dr. Pala" said:
madwolf> Hi Richard,
madwolf>
madwolf> thanks :D That worked. I have a new challenge for you now. Here's what
madwolf> I am trying to do:
madwolf>
madwolf> ASN1_SEQUENCE(TEST);
madwolf> ASN1_SEQUENCE(TBS_TEST) = {
madwolf> ASN
Hi Richard,
thanks :D That worked. I have a new challenge for you now. Here's what I
am trying to do:
ASN1_SEQUENCE(TEST);
ASN1_SEQUENCE(TBS_TEST) = {
ASN1_SIMPLE(TBS_TEST, version, ASN1_INTEGER),
ASN1_EXP_SEQUENCE_OF_OPT(TBS_TEST, otherTests, TEST, 0)
} ASN1_SEQUENCE_END(TEST)
IMPLEM
In message <2c480bc2-3367-38e9-f4d8-3e7b37e42...@openca.org> on Fri, 1 Dec 2017
12:14:54 -0700, "Dr. Pala" said:
director> I am trying to define an ASN1 structure similar to this:
director>
director> ASN1_SEQUENCE(TEST) = {
director> ASN1_SIMPLE(TEST, version, ASN1_INTEGER),
director> A
Hi all,
I am trying to define an ASN1 structure similar to this:
ASN1_SEQUENCE(TEST) = {
ASN1_SIMPLE(TEST, version, ASN1_INTEGER),
ASN1_EXP_SEQUENCE_OF_OPT(TEST, otherTests, TEST, 0)
} ASN1_SEQUENCE_END(TEST)
IMPLEMENT_ASN1_FUNCTIONS(TEST) [**]
what is the correct procedure for doing t