Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
2e8d8764
Commit
2e8d8764
authored
Oct 09, 2002
by
Niels Möller
Browse files
* dsa-sign.c (dsa_sign): Bugfix, added missing mpz_init call.
Rev: src/nettle/dsa-sign.c:1.2
parent
caf8b3f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
dsa-sign.c
View file @
2e8d8764
...
...
@@ -94,6 +94,7 @@ dsa_sign(struct dsa_private_key *key,
mpz_fdiv_r
(
signature
->
r
,
tmp
,
key
->
pub
.
q
);
/* Compute hash */
mpz_init
(
h
);
_dsa_hash
(
h
,
hash
);
/* Compute k^-1 (mod q) */
...
...
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