commit 3cba037a11a67b63d8684dfe7a42779931316e91 from: Omar Polo date: Mon Aug 28 21:37:27 2023 UTC pre-increment reqid otherwise we send the request id N and expect to receive N+1 commit - 6c86d810fc19669cc9b970d8fef26b6375b2361f commit + 3cba037a11a67b63d8684dfe7a42779931316e91 blob - 1b576273f56f648c13cbdfa9516a1e8d721b4cdb blob + b5aa68651a750c3a8ef4eea597bdc3c28ee3c92b --- crypto.c +++ crypto.c @@ -415,7 +415,7 @@ ecdsae_send_enc_imsg(const unsigned char *dgst, int dg * operation in OpenSSL's engine layer. */ memset(&req, 0, sizeof(req)); - req.id = reqid++; + req.id = ++reqid; if (strlcpy(req.hash, hash, sizeof(req.hash)) >= sizeof(req.hash)) fatalx("%s: hash too long (%zu)", __func__, strlen(hash)); req.flen = dgst_len;