mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Add a cast to make clang happier.
This commit is contained in:
parent
a4c0a0e81e
commit
b590cc0449
@ -174,7 +174,7 @@ crypto_dh_handshake(int severity, crypto_dh_t *dh,
|
||||
peer_key.u.dh.base.data = dh_generator_data;
|
||||
peer_key.u.dh.base.len = 1;
|
||||
peer_key.u.dh.publicValue.data = (unsigned char *)pubkey;
|
||||
peer_key.u.dh.publicValue.len = pubkey_len;
|
||||
peer_key.u.dh.publicValue.len = (int) pubkey_len;
|
||||
|
||||
PK11SymKey *sym = PK11_PubDerive(dh->seckey, &peer_key,
|
||||
PR_FALSE, NULL, NULL, CKM_DH_PKCS_DERIVE,
|
||||
|
Loading…
Reference in New Issue
Block a user