Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
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 curl
Commits
d4f62f6c
Commit
d4f62f6c
authored
10 years ago
by
Paul Howarth
Committed by
Kamil Dudka
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
nss: fix compilation failure with old versions of NSS
Bug:
http://curl.haxx.se/mail/lib-2015-04/0095.html
parent
1945f99d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/vtls/nss.c
+4
-2
4 additions, 2 deletions
lib/vtls/nss.c
with
4 additions
and
2 deletions
lib/vtls/nss.c
+
4
−
2
View file @
d4f62f6c
...
...
@@ -725,6 +725,7 @@ static void HandshakeCallback(PRFileDesc *sock, void *arg)
}
}
#if NSSVERNUM >= 0x030f04
/* 3.15.4 */
static
SECStatus
CanFalseStartCallback
(
PRFileDesc
*
sock
,
void
*
client_data
,
PRBool
*
canFalseStart
)
{
...
...
@@ -782,6 +783,7 @@ static SECStatus CanFalseStartCallback(PRFileDesc *sock, void *client_data,
end:
return
SECSuccess
;
}
#endif
static
void
display_cert_info
(
struct
SessionHandle
*
data
,
CERTCertificate
*
cert
)
...
...
@@ -1754,7 +1756,7 @@ static CURLcode nss_setup_connect(struct connectdata *conn, int sockindex)
goto
error
;
#endif
#if
def SSL_ENABLE_FALSE_START
#if
NSSVERNUM >= 0x030f04
/* 3.15.4 */
if
(
data
->
set
.
ssl
.
falsestart
)
{
if
(
SSL_OptionSet
(
connssl
->
handle
,
SSL_ENABLE_FALSE_START
,
PR_TRUE
)
!=
SECSuccess
)
...
...
@@ -2049,7 +2051,7 @@ bool Curl_nss_cert_status_request(void)
}
bool
Curl_nss_false_start
(
void
)
{
#if
def SSL_ENABLE_FALSE_START
#if
NSSVERNUM >= 0x030f04
/* 3.15.4 */
return
TRUE
;
#else
return
FALSE
;
...
...
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