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
fb2425b1
Commit
fb2425b1
authored
15 years ago
by
Kamil Dudka
Browse files
Options
Downloads
Patches
Plain Diff
lib/nss.c: avoid use of uninitialized value
parent
2286f566
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/nss.c
+3
-3
3 additions, 3 deletions
lib/nss.c
with
3 additions
and
3 deletions
lib/nss.c
+
3
−
3
View file @
fb2425b1
...
...
@@ -990,7 +990,9 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
{
PRInt32
err
;
PRFileDesc
*
model
=
NULL
;
PRBool
ssl2
,
ssl3
,
tlsv1
;
PRBool
ssl2
=
PR_FALSE
;
PRBool
ssl3
=
PR_FALSE
;
PRBool
tlsv1
=
PR_FALSE
;
struct
SessionHandle
*
data
=
conn
->
data
;
curl_socket_t
sockfd
=
conn
->
sock
[
sockindex
];
struct
ssl_connect_data
*
connssl
=
&
conn
->
ssl
[
sockindex
];
...
...
@@ -1106,8 +1108,6 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
if
(
SSL_OptionSet
(
model
,
SSL_HANDSHAKE_AS_CLIENT
,
PR_TRUE
)
!=
SECSuccess
)
goto
error
;
ssl2
=
ssl3
=
tlsv1
=
PR_FALSE
;
switch
(
data
->
set
.
ssl
.
version
)
{
default:
case
CURL_SSLVERSION_DEFAULT
:
...
...
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