Skip to content

Hitch OSP build issue #218

@embhorn

Description

@embhorn

The hitch port has an issue with not including wolfSSL configuration before using wolfSSL headers:

  CC       libcfg_a-cfg_lex.o
In file included from /home/runner/work/wolfssl/wolfssl/build-dir/include/wolfssl/wolfcrypt/types.h:34,
                 from /home/runner/work/wolfssl/wolfssl/build-dir/include/wolfssl/openssl/ssl.h:32,
                 from configuration.h:12,
                 from cfg_lex.l:5:
/home/runner/work/wolfssl/wolfssl/build-dir/include/wolfssl/wolfcrypt/settings.h:336:6: error: #error "No configuration for wolfSSL detected, check header order"
  336 |     #error "No configuration for wolfSSL detected, check header order"
      |      ^~~~~
In file included from /home/runner/work/wolfssl/wolfssl/build-dir/include/wolfssl/wolfcrypt/types.h:34,
                 from /home/runner/work/wolfssl/wolfssl/build-dir/include/wolfssl/openssl/ssl.h:32,
                 from configuration.h:12,
                 from cfg_lex.l:5:
/home/runner/work/wolfssl/wolfssl/build-dir/include/wolfssl/wolfcrypt/settings.h:3708:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp]
 3708 |             #warning "For timing resistance / side-channel attack prevention consider using harden options"
      |              ^~~~~~~
make[3]: *** [Makefile:784: libcfg_a-cfg_lex.o] Error 1

original failure report (may be expired in the future)
https://github.com/wolfSSL/wolfssl/actions/runs/12241546663/job/34147016779?pr=8262

This issue was exposed after wolfSSL PR wolfSSL/wolfssl#8262

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions