[MSTSC]
[reactos.git] / reactos / base / applications / mstsc / constants.h
index 8a12926..0e9a695 100644 (file)
@@ -2,7 +2,7 @@
    rdesktop: A Remote Desktop Protocol client.
    Miscellaneous protocol constants
    Copyright (C) Matthew Chapman 1999-2005
-
+   
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
@@ -13,9 +13,9 @@
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
 
-   You should have received a copy of the GNU General Public License along
-   with this program; if not, write to the Free Software Foundation, Inc.,
-   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
 /* TCP port for Remote Desktop Protocol */
@@ -60,10 +60,11 @@ enum MCS_PDU_TYPE
 #define MCS_USERCHANNEL_BASE    1001
 
 /* RDP secure transport constants */
-#define SEC_RANDOM_SIZE                32
-#define SEC_MODULUS_SIZE       64
-#define SEC_PADDING_SIZE       8
-#define SEC_EXPONENT_SIZE      4
+#define SEC_RANDOM_SIZE                        32
+#define SEC_MODULUS_SIZE               64
+#define SEC_MAX_MODULUS_SIZE   256
+#define SEC_PADDING_SIZE               8
+#define SEC_EXPONENT_SIZE              4
 
 #define SEC_CLIENT_RANDOM      0x0001
 #define SEC_ENCRYPT            0x0008