summaryrefslogtreecommitdiff
path: root/random/unix/sha2_glue.c
diff options
context:
space:
mode:
authorfitz <fitz@13f79535-47bb-0310-9956-ffa450edef68>2005-12-07 18:29:06 +0000
committerfitz <fitz@13f79535-47bb-0310-9956-ffa450edef68>2005-12-07 18:29:06 +0000
commitb8e7009d43b83bb218248dd285f006e1e0322b2e (patch)
treebf866f25161dd68ddc79f821fbb64f2e9df7efcb /random/unix/sha2_glue.c
parent97d5e3bfb921ef282779296665fd65222060b6ce (diff)
downloadlibapr-b8e7009d43b83bb218248dd285f006e1e0322b2e.tar.gz
Prefix non-static symbols with 'apr__' to avoid namespace conflicts.
* random/unix/sha2.h, random/unix/sha2_glue.c, random/unix/sha2.c: Rename SHA256_Init, SHA256_Update, SHA256_Final, SHA256_Transform, SHA384_Init, SHA512_Init, SHA512_Final, SHA384_Final, SHA512_Update, SHA384_Update, and SHA512_Transform, , to apr__SHA256_Init, apr__SHA256_Update, apr__SHA256_Final, apr__SHA256_Transform, apr__SHA384_Init, apr__SHA512_Init, apr__SHA512_Final, apr__SHA384_Final, apr__SHA512_Update, apr__SHA384_Update, and apr__SHA512_Transform. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@354824 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'random/unix/sha2_glue.c')
-rw-r--r--random/unix/sha2_glue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/random/unix/sha2_glue.c b/random/unix/sha2_glue.c
index 08f4de3f6..4909a8fe1 100644
--- a/random/unix/sha2_glue.c
+++ b/random/unix/sha2_glue.c
@@ -5,18 +5,18 @@
static void sha256_init(apr_crypto_hash_t *h)
{
- SHA256_Init(h->data);
+ apr__SHA256_Init(h->data);
}
static void sha256_add(apr_crypto_hash_t *h,const void *data,
apr_size_t bytes)
{
- SHA256_Update(h->data,data,bytes);
+ apr__SHA256_Update(h->data,data,bytes);
}
static void sha256_finish(apr_crypto_hash_t *h,unsigned char *result)
{
- SHA256_Final(result,h->data);
+ apr__SHA256_Final(result,h->data);
}
APR_DECLARE(apr_crypto_hash_t *) apr_crypto_sha256_new(apr_pool_t *p)