package/libuhttpd: fix build with wolfssl
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 4 Aug 2021 20:23:54 +0000 (22:23 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 4 Aug 2021 20:30:51 +0000 (22:30 +0200)
commit03889590606e4a5aa3adf990e5b31c82c49ccf12
tree6b36621395591258f201849e44009dcba8c0f0d7
parent506bace2fe1f1236b9888f4cc7bd32d1c81760f0
package/libuhttpd: fix build with wolfssl

Fix the following build failure with wolfssl raised since bump to
version 3.12.1 in commit 4d85defa7103aadc74223868fb83ed0bed144f4d:

/tmp/instance-4/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c: In function 'ssl_context_new':
/tmp/instance-4/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c:174:33: error: 'tls13_ciphersuites' undeclared (first use in this function)
  174 |     SSL_CTX_set_ciphersuites(c, tls13_ciphersuites);
      |                                 ^~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/25db1e999950bbee069ba7364a228184a6a77808

Note: we have a reference to a pull request on the 'ssl' repository,
because it is a git submodule of libuhttpd.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: explain the reference to ssl/pull/1]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libuhttpd/0001-openssl.c-fix-build-with-wolfssl.patch [new file with mode: 0644]