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
e9ad6665
Commit
e9ad6665
authored
19 years ago
by
Ben Laurie
Browse files
Options
Downloads
Patches
Plain Diff
Add debug target, remove cast, note possible bug.
parent
b5855b2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Configure
+1
-0
1 addition, 0 deletions
Configure
apps/s_server.c
+1
-1
1 addition, 1 deletion
apps/s_server.c
crypto/dsa/dsa_ossl.c
+2
-0
2 additions, 0 deletions
crypto/dsa/dsa_ossl.c
with
4 additions
and
1 deletion
Configure
+
1
−
0
View file @
e9ad6665
...
...
@@ -367,6 +367,7 @@ my %table=(
"BSD-generic32","gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-x86", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"debug-BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall -g::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-sparcv8", "gcc:-DB_ENDIAN -DTERMIOS -O3 -mv8 -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
"BSD-generic64","gcc:-DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
...
...
This diff is collapsed.
Click to expand it.
apps/s_server.c
+
1
−
1
View file @
e9ad6665
...
...
@@ -1470,7 +1470,7 @@ static DH *load_dh_param(const char *dhfile)
DH
*
ret
=
NULL
;
BIO
*
bio
;
if
((
bio
=
BIO_new_file
(
(
char
*
)
dhfile
,
"r"
))
==
NULL
)
if
((
bio
=
BIO_new_file
(
dhfile
,
"r"
))
==
NULL
)
goto
err
;
ret
=
PEM_read_bio_DHparams
(
bio
,
NULL
,
NULL
,
NULL
);
err:
...
...
This diff is collapsed.
Click to expand it.
crypto/dsa/dsa_ossl.c
+
2
−
0
View file @
e9ad6665
...
...
@@ -326,6 +326,8 @@ static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig,
ret
=
(
BN_ucmp
(
&
u1
,
sig
->
r
)
==
0
);
err:
/* XXX: surely this is wrong - if ret is 0, it just didn't verify
there is no error in BN. Test should be ret == -1 (Ben) */
if
(
ret
!=
1
)
DSAerr
(
DSA_F_DSA_DO_VERIFY
,
ERR_R_BN_LIB
);
if
(
ctx
!=
NULL
)
BN_CTX_free
(
ctx
);
BN_free
(
&
u1
);
...
...
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