OpenSSL: Update to match the modified DH_get0_key() API
OpenSSL 1.1.0 (master branch) apparently ended up modifying the API after the beta 2 release that was supposed to complete the work. Mark the variables const to fix the compilation with the modified OpenSSL API. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
fc1e2c0d91
commit
e6804fef93
1 changed files with 2 additions and 1 deletions
|
@ -653,7 +653,8 @@ err:
|
||||||
DH *dh;
|
DH *dh;
|
||||||
struct wpabuf *pubkey = NULL, *privkey = NULL;
|
struct wpabuf *pubkey = NULL, *privkey = NULL;
|
||||||
size_t publen, privlen;
|
size_t publen, privlen;
|
||||||
BIGNUM *p = NULL, *g, *priv_key = NULL, *pub_key = NULL;
|
BIGNUM *p = NULL, *g;
|
||||||
|
const BIGNUM *priv_key = NULL, *pub_key = NULL;
|
||||||
|
|
||||||
*priv = NULL;
|
*priv = NULL;
|
||||||
wpabuf_free(*publ);
|
wpabuf_free(*publ);
|
||||||
|
|
Loading…
Reference in a new issue