1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 16:25:17 +00:00

signer: Fixed typo

This commit is contained in:
Lauri Võsandi 2015-10-20 11:32:46 +03:00
parent d4f735c34d
commit 4c9f4ffd47

View File

@ -35,7 +35,7 @@ def raw_sign(private_key, ca_cert, request, basic_constraints, lifetime, key_usa
# Initialize X.509 certificate object
cert = crypto.X509()
ca.set_version(2) # This corresponds to X.509v3
cert.set_version(2) # This corresponds to X.509v3
# Set public key
cert.set_pubkey(request.get_pubkey())