From e384a5c69229613ca95049b49691c0ac027b7f7f Mon Sep 17 00:00:00 2001 From: Ryan Dew Date: Mon, 6 Jul 2026 14:00:48 -0700 Subject: [PATCH] MLE-30268 crypto.pseudoRandomBytes -> crypto.randomBytes --- lib/www-authenticate-patched/www-authenticate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()