From 4261d28d46a9f6ab943deddd9c385cdfdb7a836c Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 7 Dec 2015 16:12:09 -0800 Subject: [PATCH] fixing incomplete comment as raised in #340 Signed-off-by: David Lawrence (github: endophage) --- signer/api/api.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/signer/api/api.go b/signer/api/api.go index 9afce1670e..6297f652e4 100644 --- a/signer/api/api.go +++ b/signer/api/api.go @@ -76,7 +76,8 @@ func KeyInfo(cryptoServices signer.CryptoServiceIndex) http.Handler { }) } -// CreateKey returns a handler that generates a new +// CreateKey returns a handler that generates a new key using the provided +// algorithm. Only the public component of the key is returned. func CreateKey(cryptoServices signer.CryptoServiceIndex) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { vars := mux.Vars(r)