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
0702150f
Commit
0702150f
authored
16 years ago
by
Dr. Stephen Henson
Browse files
Options
Downloads
Patches
Plain Diff
Make no-tlsext compile.
parent
a0ee0815
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/s_client.c
+6
-0
6 additions, 0 deletions
apps/s_client.c
ssl/s23_clnt.c
+2
-1
2 additions, 1 deletion
ssl/s23_clnt.c
with
8 additions
and
1 deletion
apps/s_client.c
+
6
−
0
View file @
0702150f
...
...
@@ -205,7 +205,9 @@ static int c_showcerts=0;
static
void
sc_usage
(
void
);
static
void
print_stuff
(
BIO
*
berr
,
SSL
*
con
,
int
full
);
#ifndef OPENSSL_NO_TLSEXT
static
int
ocsp_resp_cb
(
SSL
*
s
,
void
*
arg
);
#endif
static
BIO
*
bio_c_out
=
NULL
;
static
int
c_quiet
=
0
;
static
int
c_ign_eof
=
0
;
...
...
@@ -1653,6 +1655,8 @@ static void print_stuff(BIO *bio, SSL *s, int full)
(
void
)
BIO_flush
(
bio
);
}
#ifndef OPENSSL_NO_TLSEXT
static
int
ocsp_resp_cb
(
SSL
*
s
,
void
*
arg
)
{
const
unsigned
char
*
p
;
...
...
@@ -1678,3 +1682,5 @@ static int ocsp_resp_cb(SSL *s, void *arg)
OCSP_RESPONSE_free
(
rsp
);
return
1
;
}
#endif
This diff is collapsed.
Click to expand it.
ssl/s23_clnt.c
+
2
−
1
View file @
0702150f
...
...
@@ -276,7 +276,7 @@ static int ssl23_client_hello(SSL *s)
{
version
=
SSL2_VERSION
;
}
#ifndef OPENSSL_NO_TLSEXT
if
(
version
!=
SSL2_VERSION
)
{
/* have to disable SSL 2.0 compatibility if we need TLS extensions */
...
...
@@ -291,6 +291,7 @@ static int ssl23_client_hello(SSL *s)
ssl2_compat
=
0
;
#endif
}
#endif
buf
=
(
unsigned
char
*
)
s
->
init_buf
->
data
;
if
(
s
->
state
==
SSL23_ST_CW_CLNT_HELLO_A
)
...
...
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