]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/trusts_slave.c
Implement --help parameter.
[irc/quakenet/newserv.git] / trusts / trusts_slave.c
index c62f14567a801d1d2b9a24d88db0e589106b7366..38029029d1c29479e3db1789e028c7ea84a9cf65 100644 (file)
@@ -235,7 +235,7 @@ static int xsb_trfini(void *source, int argc, char **argv) {
   }
 
   SHA1Final(digest, &s);
-  if(strcasecmp(hmac_printhex(digest, digestbuf, SHA1_DIGESTSIZE), buf)) {
+  if(hmac_strcmp(hmac_printhex(digest, digestbuf, SHA1_DIGESTSIZE), buf)) {
     abandonreplication("digest mismatch");
     return CMD_ERROR;
   }