summaryrefslogtreecommitdiff
path: root/lib/crypto/sha256.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-04-06 14:36:21 +1000
committerAndrew Tridgell <tridge@samba.org>2011-04-06 08:12:19 +0200
commit49ab2df28a9399fef8d37677404304ac88115b45 (patch)
tree29ba5f83e3088272f7c9a8be910adcbacb7246c7 /lib/crypto/sha256.h
parent5adf85e6afa949f8e636327bb3446aa4f41948a7 (diff)
downloadsamba-49ab2df28a9399fef8d37677404304ac88115b45.tar.gz
samba-49ab2df28a9399fef8d37677404304ac88115b45.tar.bz2
samba-49ab2df28a9399fef8d37677404304ac88115b45.zip
lib/crypto: rename the SHA256_ functions to samba_SHA256_
this prevents a symbol duplication with the openssl library, which may be linked in via a secondary library dependency Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/crypto/sha256.h')
-rw-r--r--lib/crypto/sha256.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/crypto/sha256.h b/lib/crypto/sha256.h
index 4a5f2cbe94..7ee8fac73c 100644
--- a/lib/crypto/sha256.h
+++ b/lib/crypto/sha256.h
@@ -84,8 +84,8 @@ struct hc_sha256state {
typedef struct hc_sha256state SHA256_CTX;
-void SHA256_Init (SHA256_CTX *);
-void SHA256_Update (SHA256_CTX *, const void *, size_t);
-void SHA256_Final (void *, SHA256_CTX *);
+void samba_SHA256_Init (SHA256_CTX *);
+void samba_SHA256_Update (SHA256_CTX *, const void *, size_t);
+void samba_SHA256_Final (void *, SHA256_CTX *);
#endif /* HEIM_SHA_H */