]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/md5passwd.c
Update ipp documentation to reflect the behavior of configuring WiFi on IPP USB printers.
[thirdparty/cups.git] / cups / md5passwd.c
index 487c4466c2341e5a8678e7722c74cc8d32361597..9af5de23c505f39ce94c57ed9a8a0be5cd7ae019 100644 (file)
@@ -72,7 +72,7 @@ httpMD5Final(const char *nonce,               /* I - Server nonce value */
 
   snprintf(line, sizeof(line), "%s:%s", method, resource);
   cupsHashData("md5", (unsigned char *)line, strlen(line), sum, sizeof(sum));
-  httpMD5String(sum, a2);
+  cupsHashString(sum, sizeof(sum), a2, sizeof(a2));
 
  /*
   * Then combine A1 (MD5 of username, realm, and password) with the nonce