projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add proper error reports in write_random_seed, via the new 'nonfatal'
[u/mdw/putty]
/
import.c
diff --git
a/import.c
b/import.c
index
77a3243
..
32a1ac5
100644
(file)
--- a/
import.c
+++ b/
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);
privlen = pos - publen;
} else {
pos += put_mp(blob+pos, u.start, u.bytes);
privlen = pos - publen;
} else {
- assert(type == DSA); /* the only other option from the if above */
struct mpint_pos p, q, g, x, y;
int pos = 4;
struct mpint_pos p, q, g, x, y;
int pos = 4;
+
+ assert(type == DSA); /* the only other option from the if above */
+
if (GET_32BIT(ciphertext) != 0) {
errmsg = "predefined DSA parameters not supported";
goto error;
if (GET_32BIT(ciphertext) != 0) {
errmsg = "predefined DSA parameters not supported";
goto error;