Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[python extension] minor function name updates

  • Loading branch information...
commit b92fcce648ba64ffcb54a8e6c3586c3b6965dc3c 1 parent 8c3cab0
@mrash authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  python/README
  2. +2 −2 python/fko.py
View
2  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()
View
4 python/fko.py
@@ -69,7 +69,7 @@
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 @@ def spa_encryption_mode(self, val=None):
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
Please sign in to comment.
Something went wrong with that request. Please try again.