From b92fcce648ba64ffcb54a8e6c3586c3b6965dc3c Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Tue, 19 Mar 2013 21:22:32 -0400 Subject: [PATCH] [python extension] minor function name updates --- python/README | 2 +- python/fko.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/README b/python/README index d98a55e4..86eafbb2 100644 --- a/python/README +++ b/python/README @@ -53,7 +53,7 @@ print "Timestamp:", fko.timestamp() print "Username:", fko.username() print "Digest Type (value):", fko.digest_type() print "Digest Type (string):", fko.digest_type_str() -print "Digest:", fko.digest() +print "Digest:", fko.spa_digest() print "SPA Message:", fko.spa_message() diff --git a/python/fko.py b/python/fko.py index f9cf5194..3e6a3f04 100644 --- a/python/fko.py +++ b/python/fko.py @@ -69,7 +69,7 @@ FKO_DIGEST_SHA256 = 3 FKO_DIGEST_SHA384 = 4 FKO_DIGEST_SHA512 = 5 -"""Digest type constants +"""Hmac type constants """ FKO_HMAC_INVALID_DATA = -1 FKO_HMAC_UNKNOWN = 0 @@ -482,7 +482,7 @@ class Fko: else: return _fko.get_spa_encryption_mode(self.ctx) - def spa_hmac_type(self, val=None): + def hmac_type(self, val=None): """Get or set the spa_hmac_type This is an integer value. If no argument is given, the current value