mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Correct problem
This commit is contained in:
parent
2080807052
commit
107f4f2e9b
1 changed files with 2 additions and 2 deletions
|
|
@ -570,9 +570,9 @@ static int parse_ssl_cert(lua_State *L, X509 *cert)
|
|||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
data->bn = rsa->e;
|
||||
#else
|
||||
const BIGNUM *n, *e, *d;
|
||||
BIGNUM *n, *e, *d;
|
||||
RSA_get0_key(rsa, &n, &e, &d);
|
||||
data->bn = (BIGNUM*) e;
|
||||
data->bn = e;
|
||||
#endif
|
||||
lua_setfield(L, -2, "exponent");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue