mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
Fix rustdoc URL syntax
This commit is contained in:
parent
ffa66a2782
commit
ad145ad461
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ fn load_domain(certs_dir: &Path, domain: String) -> Result<CertifiedKey, CertLoa
|
||||||
/// possible type until we find one that works.
|
/// possible type until we find one that works.
|
||||||
///
|
///
|
||||||
/// We should probably stop doing this and use a PEM file instead:
|
/// We should probably stop doing this and use a PEM file instead:
|
||||||
/// https://github.com/rustls/rustls/issues/1661
|
/// <https://github.com/rustls/rustls/issues/1661>
|
||||||
fn der_to_private_key(der: &[u8]) -> Result<Arc<dyn SigningKey>, rustls::Error> {
|
fn der_to_private_key(der: &[u8]) -> Result<Arc<dyn SigningKey>, rustls::Error> {
|
||||||
let keys = [
|
let keys = [
|
||||||
PrivateKeyDer::Pkcs1(pki_types::PrivatePkcs1KeyDer::from(der)),
|
PrivateKeyDer::Pkcs1(pki_types::PrivatePkcs1KeyDer::from(der)),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue