Skip to content

Commit

Permalink
Replace HTTP links with HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielMajeri committed Oct 18, 2017
1 parent fd79025 commit 3bf7ccf
Show file tree
Hide file tree
Showing 14 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions LICENSE-APACHE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Apache License
Version 2.0, January 2004
http:https://www.apache.org/licenses/
https:https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -192,7 +192,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:https://www.apache.org/licenses/LICENSE-2.0
https:https://www.apache.org/licenses/

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
12 changes: 6 additions & 6 deletions src/chacha.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://www.rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand All @@ -25,7 +25,7 @@ const CHACHA_ROUNDS: u32 = 20; // Cryptographically secure from 8 upwards as of
/// the operating system for cases that need high security.
///
/// [1]: D. J. Bernstein, [*ChaCha, a variant of
/// Salsa20*](http:https://cr.yp.to/chacha.html)
/// Salsa20*](https:https://cr.yp.to/chacha.html)
#[derive(Copy, Clone, Debug)]
pub struct ChaChaRng {
buffer: [w32; STATE_WORDS], // Internal buffer of output
Expand Down Expand Up @@ -148,7 +148,7 @@ impl ChaChaRng {
/// counter counter counter counter
/// ```
/// [1]: Daniel J. Bernstein. [*Extending the Salsa20
/// nonce.*](http:https://cr.yp.to/papers.html#xsalsa)
/// nonce.*](https:https://cr.yp.to/papers.html#xsalsa)
fn init(&mut self, key: &[u32; KEY_WORDS]) {
self.state[0] = w(0x61707865);
self.state[1] = w(0x3320646E);
Expand Down Expand Up @@ -267,7 +267,7 @@ mod test {
#[test]
fn test_rng_true_values() {
// Test vectors 1 and 2 from
// http:https://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-04
// https:https://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-04
let seed : &[_] = &[0u32; 8];
let mut ra: ChaChaRng = SeedableRng::from_seed(seed);

Expand Down
8 changes: 4 additions & 4 deletions src/distributions/exponential.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand All @@ -23,7 +23,7 @@ use distributions::{ziggurat, ziggurat_tables, Sample, IndependentSample};
///
/// [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to
/// Generate Normal Random
/// Samples*](http:https://www.doornik.com/research/ziggurat.pdf). Nuffield
/// Samples*](https:https://www.doornik.com/research/ziggurat.pdf). Nuffield
/// College, Oxford
///
/// # Example
Expand Down
8 changes: 4 additions & 4 deletions src/distributions/gamma.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
Expand Down Expand Up @@ -48,7 +48,7 @@ use super::{IndependentSample, Sample, Exp};
/// [1]: George Marsaglia and Wai Wan Tsang. 2000. "A Simple Method
/// for Generating Gamma Variables" *ACM Trans. Math. Softw.* 26, 3
/// (September 2000),
/// 363-372. DOI:[10.1145/358407.358414](http:https://doi.acm.org/10.1145/358407.358414)
/// 363-372. DOI:[10.1145/358407.358414](https:https://doi.acm.org/10.1145/358407.358414)
#[derive(Clone, Copy, Debug)]
pub struct Gamma {
repr: GammaRepr,
Expand Down
6 changes: 3 additions & 3 deletions src/distributions/mod.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down
8 changes: 4 additions & 4 deletions src/distributions/normal.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand All @@ -22,7 +22,7 @@ use distributions::{ziggurat, ziggurat_tables, Sample, IndependentSample};
///
/// [1]: Jurgen A. Doornik (2005). [*An Improved Ziggurat Method to
/// Generate Normal Random
/// Samples*](http:https://www.doornik.com/research/ziggurat.pdf). Nuffield
/// Samples*](https:https://www.doornik.com/research/ziggurat.pdf). Nuffield
/// College, Oxford
///
/// # Example
Expand Down
6 changes: 3 additions & 3 deletions src/distributions/range.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down
6 changes: 3 additions & 3 deletions src/distributions/ziggurat_tables.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down
6 changes: 3 additions & 3 deletions src/isaac.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down Expand Up @@ -149,7 +149,7 @@
//! This program will simulate the game show and with large enough simulation
//! steps it will indeed confirm that it is better to switch.
//!
//! [Monty Hall Problem]: http:https://en.wikipedia.org/wiki/Monty_Hall_problem
//! [Monty Hall Problem]: https:https://en.wikipedia.org/wiki/Monty_Hall_problem
//!
//! ```
//! use rand::Rng;
Expand Down Expand Up @@ -722,7 +722,7 @@ pub trait SeedableRng<Seed>: Rng {
/// requirements, use a more secure one such as `IsaacRng` or `OsRng`.
///
/// [1]: Marsaglia, George (July 2003). ["Xorshift
/// RNGs"](http:https://www.jstatsoft.org/v08/i14/paper). *Journal of
/// RNGs"](https:https://www.jstatsoft.org/v08/i14/paper). *Journal of
/// Statistical Software*. Vol. 8 (Issue 14).
#[allow(missing_copy_implementations)]
#[derive(Clone, Debug)]
Expand Down
6 changes: 3 additions & 3 deletions src/os.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down
6 changes: 3 additions & 3 deletions src/rand_impls.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down
6 changes: 3 additions & 3 deletions src/read.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down
6 changes: 3 additions & 3 deletions src/reseeding.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http:https://rust-lang.org/COPYRIGHT.
// https:https://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http:https://opensource.org/licenses/MIT>, at your
// https:https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https:https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

Expand Down

0 comments on commit 3bf7ccf

Please sign in to comment.