Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1238 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
797a7c980c
commit
6fa3105441
6
secure.c
6
secure.c
@ -298,7 +298,8 @@ reverse(uint8 * p, int len)
|
||||
|
||||
/* Perform an RSA public key encryption operation */
|
||||
static void
|
||||
sec_rsa_encrypt(uint8 * out, uint8 * in, int len, uint32 modulus_size, uint8 * modulus, uint8 * exponent)
|
||||
sec_rsa_encrypt(uint8 * out, uint8 * in, int len, uint32 modulus_size, uint8 * modulus,
|
||||
uint8 * exponent)
|
||||
{
|
||||
BN_CTX *ctx;
|
||||
BIGNUM mod, exp, x, y;
|
||||
@ -767,7 +768,8 @@ sec_process_crypt_info(STREAM s)
|
||||
else
|
||||
{ /* RDP4-style encryption */
|
||||
sec_rsa_encrypt(sec_crypted_random,
|
||||
client_random, SEC_RANDOM_SIZE, server_public_key_len, modulus, exponent);
|
||||
client_random, SEC_RANDOM_SIZE, server_public_key_len, modulus,
|
||||
exponent);
|
||||
}
|
||||
sec_generate_keys(client_random, server_random, rc4_key_size);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user