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

Sean Mullan sean.mullan at oracle.com
Fri Oct 26 12:17:31 UTC 2018


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

--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