]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix assertion failure in Unix PuTTYgen exports.
authorSimon Tatham <anakin@pobox.com>
Thu, 16 Jan 2014 19:16:19 +0000 (19:16 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 16 Jan 2014 19:16:19 +0000 (19:16 +0000)
commit041bc37dbc127a10b4f3f1db62d1241ea4985c4a
treecbdcad1ca1d1266e4e8a942e2c57fc7ec1dbbf40
parentbd119b1fbab64824267bf1f75f667ba0ccdb804e
Fix assertion failure in Unix PuTTYgen exports.

The assertions I added to sshrand.c in r9930 are now justified,
because they were failing when cmdgen was used to convert a key into
either foreign private key file format - both the export functions
require random_byte() for one reason or another, and random_ref()
hadn't been called first.

[originally from svn r10117]
[r9930 == 33f485c1c3a0942192763f085292aa57d9c3de87]
cmdgen.c