Skip to content
Snippets Groups Projects
Commit b590cc04 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Add a cast to make clang happier.

parent a4c0a0e8
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment