common: minor fix for older openssl keygen
This commit is contained in:
parent
3bc9f1e275
commit
f100036cd9
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user