move docstring to the right place

This commit is contained in:
Seth Schoen
2012-10-18 17:20:59 -07:00
parent de867e26c8
commit 900120de95
+1 -1
View File
@@ -37,8 +37,8 @@ def parse(csr):
return False
def modulusbits(key):
key = str(key)
"""How many bits are in the modulus of this key?"""
key = str(key)
bio = M2Crypto.BIO.MemoryBuffer(key)
pubkey = M2Crypto.RSA.load_pub_key_bio(bio)
return len(pubkey)