wolfSSL package reports DES compatibility but lacks symbols

In Netatalk (2.4.x and 3.2.x) we use the OpenSSL compatibility layer in wolfSSL heavily. This is how we detect if a wolfSSL has the capabilities that we need:

    if (
        wolfssl_check.contains('HAVE_DH_DEFAULT_PARAMS')
        and wolfssl_check.contains('WOLFSSL_DES_ECB')
        and wolfssl_check.contains('OPENSSL_EXTRA')
        and wolfssl_check.contains('OPENSSL_ALL')
    )
        have_wolfssl = true
    [...]

With the wolfSSL library that Arch distributes, this check passes but in reality the wolfSSL headers that define DES types (/usr/include/wolfssl/openssl/des.h) is somehow not imported despite existing on the file system. This leads to a compiler error later on.

[root@5866577556c0 netatalk]# meson compile -C build
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/sbin/ninja -C /root/netatalk/build
ninja: Entering directory `/root/netatalk/build'
[6/294] Compiling C object libatalk/acl/libacl.a.p/unix.c.o
In file included from ../libatalk/acl/unix.c:36:
../include/atalk/unix.h:35:36: warning: ‘struct vol’ declared inside parameter list will not be visible outside of this definition or declaration
   35 | extern int setfilmode(const struct vol *vol, const char *name, mode_t mode, struct stat *st);
      |                                    ^~~
[125/294] Compiling C object bin/afppasswd/afppasswd.p/afppasswd.c.o
FAILED: bin/afppasswd/afppasswd.p/afppasswd.c.o 
cc -Ibin/afppasswd/afppasswd.p -Ibin/afppasswd -I../bin/afppasswd -I. -I.. -Iinclude -I../include -Ietc/afpd -I../etc/afpd -Isys -I../sys -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -O0 -g -DHAVE_CONFIG_H '-D_U_=__attribute__((unused))' -Wno-pedantic -Wno-extra -Wno-all -Wno-deprecated-declarations -D_GNU_SOURCE '-D_PATH_AFPDPWFILE="/usr/local/etc/afppasswd"' '-DVERSION="2.4.10"' -MD -MQ bin/afppasswd/afppasswd.p/afppasswd.c.o -MF bin/afppasswd/afppasswd.p/afppasswd.c.o.d -o bin/afppasswd/afppasswd.p/afppasswd.c.o -c ../bin/afppasswd/afppasswd.c
../bin/afppasswd/afppasswd.c: In function ‘convert_passwd’:
../bin/afppasswd/afppasswd.c:85:3: error: unknown type name ‘DES_key_schedule’
   85 |   DES_key_schedule schedule;
      |   ^~~~~~~~~~~~~~~~
../bin/afppasswd/afppasswd.c:74:28: error: ‘DES_cblock’ undeclared (first use in this function)
   74 | #define DES_KEY_SZ (sizeof(DES_cblock))
      |                            ^~~~~~~~~~
../bin/afppasswd/afppasswd.c:92:14: note: in expansion of macro ‘DES_KEY_SZ’
   92 |     if (j <= DES_KEY_SZ)
      |              ^~~~~~~~~~
../bin/afppasswd/afppasswd.c:74:28: note: each undeclared identifier is reported only once for each function it appears in
   74 | #define DES_KEY_SZ (sizeof(DES_cblock))
      |                            ^~~~~~~~~~
../bin/afppasswd/afppasswd.c:92:14: note: in expansion of macro ‘DES_KEY_SZ’
   92 |     if (j <= DES_KEY_SZ)
      |              ^~~~~~~~~~
../bin/afppasswd/afppasswd.c:105:32: error: expected expression before ‘)’ token
  105 |     DES_key_sched((DES_cblock *) key, &schedule);
      |                                ^
../bin/afppasswd/afppasswd.c:108:38: error: expected expression before ‘)’ token
  108 |         DES_ecb_encrypt((DES_cblock *) newpwd, (DES_cblock *) newpwd, &schedule,
      |                                      ^
../bin/afppasswd/afppasswd.c:112:36: error: expected expression before ‘)’ token
  112 |       DES_ecb_encrypt((DES_cblock *) buf, (DES_cblock *) buf, &schedule, DES_DECRYPT);
      |                                    ^
[130/294] Compiling C object bin/megatron/megatron.p/hqx.c.o
ninja: build stopped: subcommand failed.

This is with the latest 2.4 branch of Netatalk. https://github.com/Netatalk/netatalk/tree/branch-netatalk-2-4

Just for context: Debian, Ubuntu, FreeBSD and DragonflyBSD distribute wolfSSL libraries that don't have this problem. So I'm at a loss right now why only the Arch distributed library leads to this issue. Any ideas?