common: minor fix for older openssl keygen

This commit is contained in:
Jay Sorg 2016-02-22 11:48:54 -08:00
parent 3bc9f1e275
commit f100036cd9
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ ssl_gen_key_xrdp1(int key_size_in_bits, char *exp, int exp_len,
if (error == 0)
{
BN_bn2bin(my_key->n, (tui8 *)lmod);
BN_bn2bin(my_key->n, (tui8 *)(lmod + diff));
ssl_reverse_it(lmod, mod_len);
}