Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP OpenSSL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP OpenSSL
Commits
825e1a7c
Commit
825e1a7c
authored
13 years ago
by
Ben Laurie
Browse files
Options
Downloads
Patches
Plain Diff
Fix warnings.
parent
9f2b4533
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
Configure
+1
-1
1 addition, 1 deletion
Configure
apps/s_socket.c
+3
-4
3 additions, 4 deletions
apps/s_socket.c
crypto/bn/bn_gf2m.c
+1
-1
1 addition, 1 deletion
crypto/bn/bn_gf2m.c
crypto/evp/p5_crpt2.c
+1
-1
1 addition, 1 deletion
crypto/evp/p5_crpt2.c
ssl/t1_enc.c
+1
-1
1 addition, 1 deletion
ssl/t1_enc.c
with
7 additions
and
8 deletions
Configure
+
1
−
1
View file @
825e1a7c
...
...
@@ -170,7 +170,7 @@ my %table=(
"debug-ben-openbsd","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown)::::",
"debug-ben-openbsd-debug","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown)::::",
"debug-ben-debug", "gcc44:$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O2 -pipe::(unknown)::::::",
"debug-ben-macos", "cc:$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
-arch i386
-O3 -DL_ENDIAN -g3 -pipe::(unknown)::::::",
"debug-ben-macos", "cc:$gcc_devteam_warn
-arch i386
-DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -DL_ENDIAN -g3 -pipe::(unknown)::
-Wl,-search_paths_first
::::",
"debug-ben-macos-gcc46", "gcc-mp-4.6:$gcc_devteam_warn -Wconversion -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -DL_ENDIAN -g3 -pipe::(unknown)::::::",
"debug-ben-no-opt", "gcc: -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG -Werror -DL_ENDIAN -DTERMIOS -Wall -g3::(unknown)::::::",
"debug-ben-strict", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe::(unknown)::::::",
...
...
This diff is collapsed.
Click to expand it.
apps/s_socket.c
+
3
−
4
View file @
825e1a7c
...
...
@@ -238,11 +238,10 @@ int init_client(int *sock, char *host, int port, int type)
{
unsigned
char
ip
[
4
];
memset
(
ip
,
'\0'
,
sizeof
ip
);
if
(
!
host_ip
(
host
,
&
(
ip
[
0
])))
{
return
(
0
);
}
return
(
init_client_ip
(
sock
,
ip
,
port
,
type
));
return
0
;
return
init_client_ip
(
sock
,
ip
,
port
,
type
);
}
static
int
init_client_ip
(
int
*
sock
,
unsigned
char
ip
[
4
],
int
port
,
int
type
)
...
...
This diff is collapsed.
Click to expand it.
crypto/bn/bn_gf2m.c
+
1
−
1
View file @
825e1a7c
...
...
@@ -522,7 +522,7 @@ err:
*/
int
BN_GF2m_mod_inv
(
BIGNUM
*
r
,
const
BIGNUM
*
a
,
const
BIGNUM
*
p
,
BN_CTX
*
ctx
)
{
BIGNUM
*
b
,
*
c
,
*
u
,
*
v
,
*
tmp
;
BIGNUM
*
b
,
*
c
=
NULL
,
*
u
=
NULL
,
*
v
=
NULL
,
*
tmp
;
int
ret
=
0
;
bn_check_top
(
a
);
...
...
This diff is collapsed.
Click to expand it.
crypto/evp/p5_crpt2.c
+
1
−
1
View file @
825e1a7c
...
...
@@ -235,7 +235,7 @@ int PKCS5_v2_PBKDF2_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
const
unsigned
char
*
pbuf
;
int
saltlen
,
iter
,
plen
;
int
rv
=
0
;
unsigned
int
keylen
;
unsigned
int
keylen
=
0
;
int
prf_nid
,
hmac_md_nid
;
PBKDF2PARAM
*
kdf
=
NULL
;
const
EVP_MD
*
prfmd
;
...
...
This diff is collapsed.
Click to expand it.
ssl/t1_enc.c
+
1
−
1
View file @
825e1a7c
...
...
@@ -1124,7 +1124,7 @@ int tls1_export_keying_material(SSL *s, unsigned char *out, unsigned int olen,
unsigned
int
contextlen
,
int
use_context
)
{
unsigned
char
*
buff
;
unsigned
char
*
val
;
unsigned
char
*
val
=
NULL
;
unsigned
int
vallen
,
currentvalpos
,
rv
;
#ifdef KSSL_DEBUG
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment