From b8e7009d43b83bb218248dd285f006e1e0322b2e Mon Sep 17 00:00:00 2001 From: fitz Date: Wed, 7 Dec 2005 18:29:06 +0000 Subject: 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 --- random/unix/sha2_glue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'random/unix/sha2_glue.c') 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) -- cgit v1.2.1