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

[master] Replaced empty for old Botan versions

parent 419a93bc
...@@ -183,7 +183,7 @@ public: ...@@ -183,7 +183,7 @@ public:
if (len > size) { if (len > size) {
len = size; len = size;
} }
if (digest_.empty()) { if (digest_.size() == 0) {
digest_ = hmac_->final(); digest_ = hmac_->final();
} }
return (Botan::same_mem(&digest_[0], 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