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:
@@ -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"
|
||||
Reference in New Issue
Block a user