Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
ec048f46
Commit
ec048f46
authored
Jun 15, 2012
by
Mark Andrews
Browse files
make maxbits signed as BN_num_bits is signed
parent
351eca01
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/dns/dst_internal.h
View file @
ec048f46
...
...
@@ -170,7 +170,7 @@ struct dst_func {
*/
isc_result_t
(
*
sign
)(
dst_context_t
*
dctx
,
isc_buffer_t
*
sig
);
isc_result_t
(
*
verify
)(
dst_context_t
*
dctx
,
const
isc_region_t
*
sig
);
isc_result_t
(
*
verify2
)(
dst_context_t
*
dctx
,
unsigned
int
maxbits
,
isc_result_t
(
*
verify2
)(
dst_context_t
*
dctx
,
int
maxbits
,
const
isc_region_t
*
sig
);
isc_result_t
(
*
computesecret
)(
const
dst_key_t
*
pub
,
const
dst_key_t
*
priv
,
...
...
lib/dns/opensslrsa_link.c
View file @
ec048f46
...
...
@@ -511,7 +511,7 @@ opensslrsa_sign(dst_context_t *dctx, isc_buffer_t *sig) {
}
static
isc_result_t
opensslrsa_verify2
(
dst_context_t
*
dctx
,
unsigned
int
maxbits
,
const
isc_region_t
*
sig
)
{
opensslrsa_verify2
(
dst_context_t
*
dctx
,
int
maxbits
,
const
isc_region_t
*
sig
)
{
dst_key_t
*
key
=
dctx
->
key
;
int
status
=
0
;
#if USE_EVP
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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