build(clients): link Sha256, Hmac and SecureRandom into libai; drop the crypto_link shim

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 07:43:33 +02:00
co-authored by Claude Sonnet 5.5
parent 208bf5aa64
commit 2046d3659f
2 changed files with 4 additions and 10 deletions
-9
View File
@@ -1,9 +0,0 @@
// Link shim. src/ai.mk (shared, not editable from this package) compiles only
// src/security/crypto/Base64.cpp into libai, but WebhookVerifier uses
// security::crypto::Hmac (and SecureRandom::constant_time_equal), which need
// Sha256.cpp, Hmac.cpp and SecureRandom.cpp. They are compiled here until the
// integration step adds those three files to AI_SRCS in src/ai.mk; then delete
// this file (keeping both would be a duplicate symbol error at link time).
#include "security/crypto/Sha256.cpp"
#include "security/crypto/Hmac.cpp"
#include "security/crypto/SecureRandom.cpp"