| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2efe9cb commit 46f714f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -122,8 +122,7 @@ bool Hash::HashInit(const EVP_MD* md, Maybe<unsigned int> xof_md_len) { | |||
| 122 | 122 | bool Hash::HashUpdate(const char* data, size_t len) { | |
| 123 | 123 | if (!mdctx_) | |
| 124 | 124 | return false; | |
| 125 | - EVP_DigestUpdate(mdctx_.get(), data, len); | ||
| 126 | - return true; | ||
| 125 | + return EVP_DigestUpdate(mdctx_.get(), data, len) == 1; | ||
| 127 | 126 | } | |
| 128 | 127 | ||
| 129 | 128 | void Hash::HashUpdate(const FunctionCallbackInfo<Value>& args) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments