dot11decrypt: Try to fix builds with Libgcrypt < 1.6.0.

Try to fix

    run/libwireshark.so.0.0.0: undefined reference to `dot11decrypt_derive_pmk_r1'
    run/libwireshark.so.0.0.0: undefined reference to `dot11decrypt_kdf'
    run/libwireshark.so.0.0.0: undefined reference to `dot11decrypt_prf'
    run/libwireshark.so.0.0.0: undefined reference to `dot11decrypt_derive_pmk_r0'
    run/libwireshark.so.0.0.0: undefined reference to `dot11decrypt_derive_ft_ptk'
This commit is contained in:
Gerald Combs 2021-01-22 10:44:31 -08:00 committed by Wireshark GitLab Utility
parent 18013a8968
commit c69553216e
1 changed files with 1 additions and 1 deletions

View File

@ -30,6 +30,7 @@ set(CRYPT_HEADER_FILES
set(CRYPT_FILES
dot11decrypt.c
dot11decrypt_tkip.c
dot11decrypt_util.c
${CUSTOM_CRYPT_SRC}
)
@ -40,7 +41,6 @@ if (GCRYPT_VERSION VERSION_LESS 1.6.0)
else()
list(APPEND CRYPT_FILES
dot11decrypt_ccmp.c
dot11decrypt_util.c
dot11decrypt_gcmp.c
)
endif()