includes/sessions.php
changeset 629 8733c22969e7
parent 618 587b393f1e5e
child 685 17ebe24cdf85
--- a/includes/sessions.php	Sat Jul 12 03:32:57 2008 -0400
+++ b/includes/sessions.php	Sat Jul 12 03:55:14 2008 -0400
@@ -3480,7 +3480,7 @@
               
               // give the server our values
               frm.' . $crypt_key . '.value = secret_hash;
-              frm.' . $dh_client_pubkey . '.value = dh_pub;
+              ' . ( $dh_supported ? 'frm.' . $dh_client_pubkey . '.value = dh_pub;' : '' ) . '
               
               // console.info("DiffieHellman: set public values");