diff common-kex.c @ 603:3aa74a4d83ae

Refer to RFCs rather than drafts, update some section references
author Matt Johnston <matt@ucc.asn.au>
date Sun, 27 Feb 2011 13:57:32 +0000
parents 2895626d864f
children 2b1bb792cd4d 4222a1039b06
line wrap: on
line diff
--- a/common-kex.c	Sun Feb 27 13:12:17 2011 +0000
+++ b/common-kex.c	Sun Feb 27 13:57:32 2011 +0000
@@ -272,8 +272,8 @@
 }
 
 /* Generate the actual encryption/integrity keys, using the results of the
- * key exchange, as specified in section 5.2 of the IETF secsh-transport
- * draft. This occurs after the DH key-exchange.
+ * key exchange, as specified in section 7.2 of the transport rfc 4253.
+ * This occurs after the DH key-exchange.
  *
  * ses.newkeys is the new set of keys which are generated, these are only
  * taken into use after both sides have sent a newkeys message */
@@ -532,7 +532,7 @@
 }
 
 /* Initialises and generate one side of the diffie-hellman key exchange values.
- * See the ietf-secsh-transport draft, section 6, for details */
+ * See the transport rfc 4253 section 8 for details */
 /* dh_pub and dh_priv MUST be already initialised */
 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv) {