compile error with tracing on in CMP code

Stephen Farrell stephen.farrell at cs.tcd.ie
Tue Nov 5 04:23:47 UTC 2019


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
...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x5AB2FAF17B172BEA.asc
Type: application/pgp-keys
Size: 10715 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20191105/74182550/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20191105/74182550/attachment.sig>


More information about the openssl-users mailing list