aboutsummaryrefslogtreecommitdiff
path: root/static/solver.c
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-25 10:40:22 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-25 10:40:22 +0800
commit77456c33a7ee34876f6c860d2888a1442362dcea (patch)
treee53efe3e330312335eeb11be1123c623d3db652a /static/solver.c
parentMerge branch 'master' into irclog (diff)
parentMore C style changes (diff)
downloadpowxy-2278f7e711597b164b74f98b9ff3c4d126a8e05b.tar.gz
powxy-2278f7e711597b164b74f98b9ff3c4d126a8e05b.tar.zst
powxy-2278f7e711597b164b74f98b9ff3c4d126a8e05b.zip
Merge branch 'master' into irclogirclog-v0.1.80
Diffstat (limited to 'static/solver.c')
-rw-r--r--static/solver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/solver.c b/static/solver.c
index a06140e..73fb98f 100644
--- a/static/solver.c
+++ b/static/solver.c
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
unsigned char digest[len];
size_t next = 0;
- while (1) {
+ for (;;) {
if (EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL) != 1) {
fprintf(stderr, "EVP_DigestInit_ex\n");
EVP_MD_CTX_free(mdctx);