compile error with tracing on in CMP code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

compile error with tracing on in CMP code

Stephen Farrell

Hiya,

I just cloned from the tip and after:

$ ./config enable-ssl-trace enable-trace --debug

I get a compile error (see below). I didn't see an
immediately obvious fix, but (for me) just setting
"-no-cmp" in addition to the above seems to work
fine, so I've stopped delving into it for now.

Cheers,
S.

...
gcc  -I. -Iinclude -Iapps/include -I. -Iinclude -Iapps/include  -pthread
-m64 -Wa,--noexecstack -Wall -O0 -g   -MMD -MF
test/cmp_status_test-bin-cmp_testlib.d.tmp -MT
test/cmp_status_test-bin-cmp_testlib.o -c -o
test/cmp_status_test-bin-cmp_testlib.o test/cmp_testlib.c
In file included from include/openssl/cmp_util.h:19,
                 from include/openssl/cmp.h:20,
                 from test/cmp_testlib.h:15,
                 from test/cmp_ctx_test.c:12:
test/cmp_ctx_test.c: In function 'execute_cmp_ctx_log_cb_test':
include/openssl/cmp_util.h:35:30: error: expected ')' before 'OPENSSL_MSTR'
   35 |                              OPENSSL_MSTR(OPENSSL_LINE) ":"
OSSL_CMP_LOG_PREFIX
...
lots more errors
...



0x5AB2FAF17B172BEA.asc (10K) Download Attachment
signature.asc (849 bytes) Download Attachment