1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +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 # Initialize X.509 certificate object
cert = crypto.X509() cert = crypto.X509()
ca.set_version(2) # This corresponds to X.509v3 cert.set_version(2) # This corresponds to X.509v3
# Set public key # Set public key
cert.set_pubkey(request.get_pubkey()) cert.set_pubkey(request.get_pubkey())