From cd5f8d9e0d3ad66dca2300b1040bff4ea211248f Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sat, 1 Jun 2019 11:53:57 +0200 Subject: [PATCH] Improve some comments Sometimes, grep is used to find the TODO comments. Without the proper explanation, it is hard to know what it refers to (-C / --context may produce a too large output). --- acmed/src/acme_proto/jws.rs | 2 +- acmed/src/acme_proto/jws/jwk.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acmed/src/acme_proto/jws.rs b/acmed/src/acme_proto/jws.rs index 70805b2..a86ee7d 100644 --- a/acmed/src/acme_proto/jws.rs +++ b/acmed/src/acme_proto/jws.rs @@ -43,7 +43,7 @@ fn es256_sign(data: &[u8], private_key: &PKey) -> Result } fn eddsa_ed25519_sign(_data: &[u8], _private_key: &PKey) -> Result { - // TODO: implement + // TODO: implement eddsa_ed25519_sign Err("EdDSA not implemented.".into()) } diff --git a/acmed/src/acme_proto/jws/jwk.rs b/acmed/src/acme_proto/jws/jwk.rs index a451ab4..82d1431 100644 --- a/acmed/src/acme_proto/jws/jwk.rs +++ b/acmed/src/acme_proto/jws/jwk.rs @@ -33,7 +33,7 @@ impl Es256Jwk { #[derive(Serialize)] pub struct EdDsaEd25519Jwk { - // TODO: implement + // TODO: implement EdDsaEd25519Jwk } impl EdDsaEd25519Jwk {