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.
This commit is contained in:
Dmitry Podgorny
2014-09-06 23:57:10 +03:00
parent 529a9bed44
commit bf5bf96e95

View File

@@ -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]);