mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-11 08:13:46 -05:00
Fix a build failure: r9924 thoughtlessly put an assert before some
declarations, and gcc didn't complain but VC did.
[originally from svn r9928]
[r9924 == 1dabc578a9
]
This commit is contained in:
4
import.c
4
import.c
@ -1474,9 +1474,11 @@ struct ssh2_userkey *sshcom_read(const Filename *filename, char *passphrase,
|
|||||||
pos += put_mp(blob+pos, u.start, u.bytes);
|
pos += put_mp(blob+pos, u.start, u.bytes);
|
||||||
privlen = pos - publen;
|
privlen = pos - publen;
|
||||||
} else {
|
} else {
|
||||||
assert(type == DSA); /* the only other option from the if above */
|
|
||||||
struct mpint_pos p, q, g, x, y;
|
struct mpint_pos p, q, g, x, y;
|
||||||
int pos = 4;
|
int pos = 4;
|
||||||
|
|
||||||
|
assert(type == DSA); /* the only other option from the if above */
|
||||||
|
|
||||||
if (GET_32BIT(ciphertext) != 0) {
|
if (GET_32BIT(ciphertext) != 0) {
|
||||||
errmsg = "predefined DSA parameters not supported";
|
errmsg = "predefined DSA parameters not supported";
|
||||||
goto error;
|
goto error;
|
||||||
|
Reference in New Issue
Block a user