Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
b590cc04
Commit
b590cc04
authored
Aug 02, 2018
by
Nick Mathewson
🎨
Browse files
Add a cast to make clang happier.
parent
a4c0a0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/crypt_ops/crypto_dh_nss.c
View file @
b590cc04
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment