Commit 3b6460cd authored by Francis Dupont's avatar Francis Dupont

[master] Replaced empty for old Botan versions

parent 419a93bc
......@@ -183,7 +183,7 @@ public:
if (len > size) {
len = size;
}
if (digest_.empty()) {
if (digest_.size() == 0) {
digest_ = hmac_->final();
}
return (Botan::same_mem(&digest_[0],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment