RFR 8213007: Update the link in test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java

Sean Mullan sean.mullan at oracle.com
Fri Oct 26 14:08:36 UTC 2018


On 10/26/18 9:43 AM, Weijun Wang wrote:
> 
> 
>> On Oct 26, 2018, at 8:17 PM, Sean Mullan <sean.mullan at oracle.com> wrote:
>>
>> I get a "Page Not Found" error for https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/documents/drbg/drbgtestvectors.zip
>>
>> This works:
>>
>> https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/drbg/drbgtestvectors.zip
> 
> This is the new link in my updated code. Maybe you clicked the removed one?

Weird. I don't know why I clicked on that URL now. Anyway, looks good, 
go ahead and push the fix.

--Sean

> 
>>
>> --Sean
>>
>> On 10/25/18 11:22 PM, Weijun Wang wrote:
>>> Oops, I should have updated the link in the actual CAVP test whiling fixing JDK-8212867. Here is it:
>>> *diff --git a/test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java b/test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java*
>>> *--- a/test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java*
>>> *+++ b/test/jdk/sun/security/provider/SecureRandom/DrbgCavp.java*
>>> @@ -1,5 +1,5 @@
>>>   /*
>>> - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
>>> + * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
>>>    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>>>    *
>>>    * This code is free software; you can redistribute it and/or modify it
>>> @@ -46,8 +46,9 @@
>>>   import static java.security.DrbgParameters.Capability.*;
>>>   /**
>>> - * The Known-output DRBG test. The test vector can be obtained from
>>> - * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip.
>>> + * The Known-output DRBG test. The test vector can be downloaded from
>>> + * https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/drbg/drbgtestvectors.zip.
>>> + * The test is described on https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Random-Number-Generators.
>>>    *
>>>    * Manually run this test with
>>>    *
>>> Thanks
>>> Max
> 



More information about the security-dev mailing list