summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.h
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-04-14 03:02:02 +0000
committerjsorg71 <jsorg71>2006-04-14 03:02:02 +0000
commit8fd2618101c5559b694938427c7519e33ee3ea02 (patch)
tree587648c52f3c69716a59c76d1de704c072f68a1e /libxrdp/libxrdp.h
parentab61191620ba5dbb88758802eff69686db513163 (diff)
downloadxrdp-proprietary-8fd2618101c5559b694938427c7519e33ee3ea02.tar.gz
xrdp-proprietary-8fd2618101c5559b694938427c7519e33ee3ea02.zip
added medium and high rdp encryption via xrdp.ini
Diffstat (limited to 'libxrdp/libxrdp.h')
-rw-r--r--libxrdp/libxrdp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libxrdp/libxrdp.h b/libxrdp/libxrdp.h
index b5afde0a..dd87096e 100644
--- a/libxrdp/libxrdp.h
+++ b/libxrdp/libxrdp.h
@@ -75,8 +75,9 @@ struct xrdp_sec
char encrypt_key[16];
char decrypt_update_key[16];
char encrypt_update_key[16];
- int rc4_key_size;
- int rc4_key_len;
+ int rc4_key_size; /* 1 = 40 bit, 2 = 128 bit */
+ int rc4_key_len; /* 8 = 40 bit, 16 = 128 bit */
+ int crypt_level; /* 1, 2, 3 = low, meduim, high */
char sign_key[16];
void* decrypt_rc4_info;
void* encrypt_rc4_info;
@@ -230,7 +231,7 @@ xrdp_mcs_disconnect(struct xrdp_mcs* self);
/* xrdp_sec.c */
struct xrdp_sec* APP_CC
-xrdp_sec_create(struct xrdp_rdp* owner, int sck);
+xrdp_sec_create(struct xrdp_rdp* owner, int sck, int crypt_level);
void APP_CC
xrdp_sec_delete(struct xrdp_sec* self);
int APP_CC
@@ -238,7 +239,7 @@ xrdp_sec_init(struct xrdp_sec* self, struct stream* s);
int APP_CC
xrdp_sec_recv(struct xrdp_sec* self, struct stream* s, int* chan);
int APP_CC
-xrdp_sec_send(struct xrdp_sec* self, struct stream* s, int flags);
+xrdp_sec_send(struct xrdp_sec* self, struct stream* s);
int APP_CC
xrdp_sec_incoming(struct xrdp_sec* self);
int APP_CC