Skip to content

Commit 4008c8b

Browse files
authored
Fix the broken links (#286)
1 parent d2ba351 commit 4008c8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/crypto/rsa.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub(crate) fn alg_to_rsa_signing(alg: Algorithm) -> &'static dyn signature::RsaE
3232

3333
/// The actual RSA signing + encoding
3434
/// The key needs to be in PKCS8 format
35-
/// Taken from Ring doc https://briansmith.org/rustdoc/ring/signature/index.html
35+
/// Taken from Ring doc https://docs.rs/ring/latest/ring/signature/index.html
3636
pub(crate) fn sign(
3737
alg: &'static dyn signature::RsaEncoding,
3838
key: &[u8],

src/encoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl EncodingKey {
3434
///
3535
/// # NOTE
3636
///
37-
/// According to the [ring doc](https://briansmith.org/rustdoc/ring/signature/struct.RsaKeyPair.html#method.from_pkcs8),
37+
/// According to the [ring doc](https://docs.rs/ring/latest/ring/signature/struct.RsaKeyPair.html#method.from_pkcs8),
3838
/// the key should be at least 2047 bits.
3939
///
4040
#[cfg(feature = "use_pem")]

0 commit comments

Comments
 (0)