Skip to content

Commit

Permalink
Update ecc.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy1900 authored and Legrandin committed Nov 1, 2019
1 parent 2c45807 commit f4a4898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/src/public_key/ecc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ and subsequently reload it back into the application::
>>> key = ECC.generate(curve='P-256')
>>>
>>> f = open('myprivatekey.pem','wt')
>>> f.write(key.export_key())
>>> f.write(key.export_key(format='PEM'))
>>> f.close()
...
>>> f = open('myprivatekey.pem','rt')
Expand Down

0 comments on commit f4a4898

Please sign in to comment.