From bf5bf96e9562ebc54a89b7e6d2d1387b12bc7cb0 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sat, 6 Sep 2014 23:57:10 +0300 Subject: [PATCH] sha1: removed xmpp_ prefix from SHA1 symbols Prefix was introduced in a981c0a as a workaround. Now, non-public API is not exported, so this patch hides SHA1 symbols for dynamic library. --- src/sha1.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/sha1.h b/src/sha1.h index 349e851..b637f66 100644 --- a/src/sha1.h +++ b/src/sha1.h @@ -20,11 +20,6 @@ typedef struct { #define SHA1_DIGEST_SIZE 20 -/* prevent name collisions with libcrypto */ -#define SHA1_Init xmpp_SHA1_Init -#define SHA1_Update xmpp_SHA1_Update -#define SHA1_Final xmpp_SHA1_Final - void SHA1_Init(SHA1_CTX* context); void SHA1_Update(SHA1_CTX* context, const uint8_t* data, const size_t len); void SHA1_Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]);