]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - engines/ccgost/gostsum.c
Use "==0" instead of "!strcmp" etc
[thirdparty/openssl.git] / engines / ccgost / gostsum.c
index 1021848ef72c9421c668cc25d305cf763a02a4c4..252bd2cfed6a25c81efdb1f5997e9c0fe765f55e 100644 (file)
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
                 exit(2);
             }
             count++;
-            if (!strncmp(calcsum, inhash, 65)) {
+            if (strncmp(calcsum, inhash, 65) == 0) {
                 if (verbose) {
                     fprintf(stderr, "%s\tOK\n", filename);
                 }