diff --git a/lib/www-authenticate-patched/www-authenticate.js b/lib/www-authenticate-patched/www-authenticate.js index 5b85f9f7..43599cad 100644 --- a/lib/www-authenticate-patched/www-authenticate.js +++ b/lib/www-authenticate-patched/www-authenticate.js @@ -1,5 +1,5 @@ /* -* Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. +* Copyright (c) 2015-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved. */ /* @@ -41,7 +41,7 @@ const www_authenticator = function(username,password,options) if (toString.call(options.cnonce) == '[object String]') {cnonce= options.cnonce;} } - if (cnonce === void 0) {cnonce= crypto.pseudoRandomBytes(8).toString('hex');} + if (cnonce === void 0) {cnonce= crypto.randomBytes(8).toString('hex');} const parse_header= function(www_authenticate) { function Authenticator()