Displaying 3 results from an estimated 3 matches for "session_key_int".
2001 Feb 08
1
ssh1 keyexchange problem ?
Hi,
Has anybody produced diffs for openssh-2.3.0p1 for the rsa keyexchange
problem that Core-SDI described ? ( I noticed that fix is already
in openbsd tree ).
-Jarno
--
Jarno Huuskonen - System Administrator | Jarno.Huuskonen at uku.fi
University of Kuopio - Computer Center | Work: +358 17 162822
PO BOX 1627, 70211 Kuopio, Finland | Mobile: +358 40 5388169
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
...#endif /* _NEXT_POSIX_H */
Only in onext: ssh_prng_cmds
diff -ru openssh/sshd.c onext/sshd.c
--- openssh/sshd.c Sat Sep 23 01:15:57 2000
+++ onext/sshd.c Thu Sep 28 15:38:39 2000
@@ -1259,7 +1259,7 @@
if (len < 0 || len > sizeof(session_key))
fatal("do_connection: bad len from %s: session_key_int %d > sizeof(session_key) %d",
get_remote_ipaddr(),
- len, sizeof(session_key));
+ len, (int) sizeof(session_key));
memset(session_key, 0, sizeof(session_key));
BN_bn2bin(session_key_int, session_key + sizeof(session_key) - len);
2003 Oct 28
2
Privilege separation
...@@ -1722,8 +1734,10 @@
/* Destroy the private and public keys. No longer. */
destroy_sensitive_data();
+#ifndef DISABLE_PRIVSEP
if (use_privsep)
mm_ssh1_session_id(session_id);
+#endif /* DISABLE_PRIVSEP */
/* Destroy the decrypted integer. It is no longer needed. */
BN_clear_free(session_key_int);