summaryrefslogtreecommitdiff
path: root/source/security_algorithms/SecurityAlgorithms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/security_algorithms/SecurityAlgorithms.cpp')
-rw-r--r--source/security_algorithms/SecurityAlgorithms.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/security_algorithms/SecurityAlgorithms.cpp b/source/security_algorithms/SecurityAlgorithms.cpp
index 1d92e57..ca1ebfc 100644
--- a/source/security_algorithms/SecurityAlgorithms.cpp
+++ b/source/security_algorithms/SecurityAlgorithms.cpp
@@ -9,10 +9,10 @@
int SecurityAlgorithms::SHA256(unsigned char *pData, unsigned long ulDataLen, unsigned char *pDigest)
{
- SHA256_CTX c256;
- SHA256_Init(&c256);
- SHA256_Update(&c256, pData, ulDataLen);
- SHA256_Final(pDigest, &c256);
+ SHA256_CTX c256;
+ SHA256_Init(&c256);
+ SHA256_Update(&c256, pData, ulDataLen);
+ SHA256_Final(pDigest, &c256);
- return 0;
+ return 0;
}