From 09d0bd6987331fb4d94d9ec2e21a9b3fbd423979 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 14 Jun 2026 14:48:35 +0100 Subject: [PATCH] Fix the bcrypt/md5 vendored libraries not being marked as extern C. --- modules/encryption/enc_bcrypt.cpp | 3 +++ modules/encryption/enc_md5.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/modules/encryption/enc_bcrypt.cpp b/modules/encryption/enc_bcrypt.cpp index 8ead26858..6b98b7f8b 100644 --- a/modules/encryption/enc_bcrypt.cpp +++ b/modules/encryption/enc_bcrypt.cpp @@ -19,7 +19,10 @@ #include #include +extern "C" +{ #include "bcrypt/crypt_blowfish.h" +} #include "module.h" #include "modules/encryption.h" diff --git a/modules/encryption/enc_md5.cpp b/modules/encryption/enc_md5.cpp index 4e0784733..2f4e473f3 100644 --- a/modules/encryption/enc_md5.cpp +++ b/modules/encryption/enc_md5.cpp @@ -19,7 +19,10 @@ #include "module.h" #include "modules/encryption.h" +extern "C" +{ #include "md5/md5.h" +} class MD5Context final : public Encryption::Context