projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add HMAC
[iotcloud.git]
/
version2
/
src
/
C
/
CloudComm.cc
diff --git
a/version2/src/C/CloudComm.cc
b/version2/src/C/CloudComm.cc
index b91fa4ad45d0542c2eb3fc1bbbccb14ea27a34ee..d1ba7cacb099dd2cb5eac26969c692302b383366 100644
(file)
--- a/
version2/src/C/CloudComm.cc
+++ b/
version2/src/C/CloudComm.cc
@@
-97,7
+97,7
@@
void CloudComm::initCrypt() {
try {
key = initKey();
password = NULL;// drop password
- mac =
Mac_getInstance("HmacSHA256"
);
+ mac =
new Mac(
);
mac->init(key);
} catch (Exception *e) {
throw new Error("Failed To Initialize Ciphers");