guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: pk-crypto: Improve documentation of 'key-type'.


From: Ludovic Courtès
Subject: 01/02: pk-crypto: Improve documentation of 'key-type'.
Date: Wed, 18 Mar 2015 13:43:16 +0000

civodul pushed a commit to branch master
in repository guix.

commit fc1ee095789641cdfe67c65ca8988ef34d921288
Author: Ludovic Courtès <address@hidden>
Date:   Wed Mar 18 14:36:32 2015 +0100

    pk-crypto: Improve documentation of 'key-type'.
    
    * guix/pk-crypto.scm (key-type): Improve docstring.
---
 guix/pk-crypto.scm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/pk-crypto.scm b/guix/pk-crypto.scm
index 7306b66..f90c2e6 100644
--- a/guix/pk-crypto.scm
+++ b/guix/pk-crypto.scm
@@ -251,8 +251,8 @@ must be a symbol: 'dsa, 'ecc, or 'rsa."
            (bytevector->base16-string bv))))
 
 (define (key-type sexp)
-  "Return a symbol denoting the type of key representing by SEXP--e.g., 'rsa',
-'ecc'--or #f if SEXP does not denote a valid key."
+  "Return a symbol denoting the type of public or private key represented by
+SEXP--e.g., 'rsa', 'ecc'--or #f if SEXP does not denote a valid key."
   (case (canonical-sexp-nth-data sexp 0)
     ((public-key private-key)
      (canonical-sexp-nth-data (canonical-sexp-nth sexp 1) 0))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]