[Pkg-ganeti-devel] [ganeti] 140/165: Add docstring to certificate verification

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Aug 11 13:53:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository ganeti.

commit 0b17f5056f4dcba83d705fddde5215967517dd8d
Author: Helga Velroyen <helgav at google.com>
Date:   Fri Jul 17 09:35:40 2015 +0200

    Add docstring to certificate verification
    
    This adds a bit of documentation to one of the
    certificate verification methods to distinguish
    them better. This got only apparent after the
    merge of 2.12 to 2.13.
    
    Signed-off-by: Helga Velroyen <helgav at google.com>
    Reviewed-by: Klaus Aehlig <aehlig at google.com>
---
 lib/tools/common.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/tools/common.py b/lib/tools/common.py
index d3c4f67..9478655 100644
--- a/lib/tools/common.py
+++ b/lib/tools/common.py
@@ -60,6 +60,9 @@ def _VerifyCertificateStrong(cert_pem, error_fn,
                              _check_fn=utils.CheckNodeCertificate):
   """Verifies a certificate against the local node daemon certificate.
 
+  Includes elaborate tests of encodings etc., and returns formatted
+  certificate.
+
   @type cert_pem: string
   @param cert_pem: Certificate and key in PEM format
   @type error_fn: callable

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ganeti/ganeti.git



More information about the Pkg-ganeti-devel mailing list