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
cbe4e921
Commit
cbe4e921
authored
Aug 20, 1999
by
Brian Wellington
Browse files
more compiler warnings removed
parent
fffd68f1
Changes
6
Hide whitespace changes
Inline
Side-by-side
lib/dns/sec/dnssafe/prime.c
View file @
cbe4e921
...
...
@@ -30,7 +30,7 @@ A_SURRENDER_CTX *surrenderContext;
u2
[
MAX_RSA_MODULUS_WORDS
],
u3
[
MAX_RSA_MODULUS_WORDS
],
u4
[
MAX_RSA_MODULUS_WORDS
];
char
sieve
[
1000
];
int
status
;
int
status
=
0
;
unsigned
int
i
,
r
,
s
,
testResult
;
do
{
...
...
lib/dns/sec/dnssafe/surrendr.c
View file @
cbe4e921
...
...
@@ -8,6 +8,7 @@
#include
"global.h"
#include
"algae.h"
#include
"surrendr.h"
/* Returns 0, AE_CANCEL.
*/
...
...
lib/dns/sec/openssl/bn_recp.c
View file @
cbe4e921
...
...
@@ -93,6 +93,7 @@ void BN_RECP_CTX_free(BN_RECP_CTX *recp)
int
BN_RECP_CTX_set
(
BN_RECP_CTX
*
recp
,
const
BIGNUM
*
d
,
BN_CTX
*
ctx
)
{
ctx
=
ctx
;
/* BEW - quiet the compiler */
BN_copy
(
&
(
recp
->
N
),
d
);
BN_zero
(
&
(
recp
->
Nr
));
recp
->
num_bits
=
BN_num_bits
(
d
);
...
...
lib/dns/sec/openssl/include/openssl/crypto.h
View file @
cbe4e921
...
...
@@ -268,10 +268,10 @@ const char *CRYPTO_get_lock_name(int type);
int
CRYPTO_add_lock
(
int
*
pointer
,
int
amount
,
int
type
,
const
char
*
file
,
int
line
);
void
CRYPTO_set_mem_functions
(
char
*
(
*
m
)(),
char
*
(
*
r
)(),
void
(
*
free_func
)());
void
CRYPTO_get_mem_functions
(
char
*
(
**
m
)(),
char
*
(
**
r
)(),
void
(
**
f
)());
void
CRYPTO_set_locked_mem_functions
(
char
*
(
*
m
)(),
void
(
*
free_func
)());
void
CRYPTO_get_locked_mem_functions
(
char
*
(
**
m
)(),
void
(
**
f
)());
void
CRYPTO_set_mem_functions
(
void
*
(
*
m
)(),
void
*
(
*
r
)(),
void
(
*
free_func
)());
void
CRYPTO_get_mem_functions
(
void
*
(
**
m
)(),
void
*
(
**
r
)(),
void
(
**
f
)());
void
CRYPTO_set_locked_mem_functions
(
void
*
(
*
m
)(),
void
(
*
free_func
)());
void
CRYPTO_get_locked_mem_functions
(
void
*
(
**
m
)(),
void
(
**
f
)());
void
*
CRYPTO_malloc_locked
(
int
num
);
void
CRYPTO_free_locked
(
void
*
);
...
...
lib/dns/sec/openssl/mem.c
View file @
cbe4e921
...
...
@@ -123,13 +123,13 @@ static unsigned long mem_hash(MEM *a)
return
(
ret
);
}
static
char
*
(
*
malloc_locked_func
)()
=
(
char
*
(
*
)())
malloc
;
static
void
*
(
*
malloc_locked_func
)()
=
(
void
*
(
*
)())
malloc
;
static
void
(
*
free_locked_func
)()
=
(
void
(
*
)())
free
;
static
char
*
(
*
malloc_func
)()
=
(
char
*
(
*
)())
malloc
;
static
char
*
(
*
realloc_func
)()
=
(
char
*
(
*
)())
realloc
;
static
void
*
(
*
malloc_func
)()
=
(
void
*
(
*
)())
malloc
;
static
void
*
(
*
realloc_func
)()
=
(
void
*
(
*
)())
realloc
;
static
void
(
*
free_func
)()
=
(
void
(
*
)())
free
;
void
CRYPTO_set_mem_functions
(
char
*
(
*
m
)(),
char
*
(
*
r
)(),
void
(
*
f
)())
void
CRYPTO_set_mem_functions
(
void
*
(
*
m
)(),
void
*
(
*
r
)(),
void
(
*
f
)())
{
if
((
m
==
NULL
)
||
(
r
==
NULL
)
||
(
f
==
NULL
))
return
;
malloc_func
=
m
;
...
...
@@ -139,21 +139,21 @@ void CRYPTO_set_mem_functions(char *(*m)(), char *(*r)(), void (*f)())
free_locked_func
=
f
;
}
void
CRYPTO_set_locked_mem_functions
(
char
*
(
*
m
)(),
void
(
*
f
)())
void
CRYPTO_set_locked_mem_functions
(
void
*
(
*
m
)(),
void
(
*
f
)())
{
if
((
m
==
NULL
)
||
(
f
==
NULL
))
return
;
malloc_locked_func
=
m
;
free_locked_func
=
f
;
}
void
CRYPTO_get_mem_functions
(
char
*
(
**
m
)(),
char
*
(
**
r
)(),
void
(
**
f
)())
void
CRYPTO_get_mem_functions
(
void
*
(
**
m
)(),
void
*
(
**
r
)(),
void
(
**
f
)())
{
if
(
m
!=
NULL
)
*
m
=
malloc_func
;
if
(
r
!=
NULL
)
*
r
=
realloc_func
;
if
(
f
!=
NULL
)
*
f
=
free_func
;
}
void
CRYPTO_get_locked_mem_functions
(
char
*
(
**
m
)(),
void
(
**
f
)())
void
CRYPTO_get_locked_mem_functions
(
void
*
(
**
m
)(),
void
(
**
f
)())
{
if
(
m
!=
NULL
)
*
m
=
malloc_locked_func
;
if
(
f
!=
NULL
)
*
f
=
free_locked_func
;
...
...
lib/dns/sec/openssl/sha1dgst.c
View file @
cbe4e921
...
...
@@ -114,7 +114,7 @@ void SHA1_Init(SHA_CTX *c)
c
->
num
=
0
;
}
void
SHA1_Update
(
SHA_CTX
*
c
,
const
register
unsigned
char
*
data
,
void
SHA1_Update
(
SHA_CTX
*
c
,
register
const
unsigned
char
*
data
,
unsigned
long
len
)
{
register
SHA_LONG
*
p
;
...
...
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