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
74241e7d
Commit
74241e7d
authored
17 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
- Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
forces it to prefer SSLv3.
parent
3154f04f
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
CHANGES
+4
-0
4 additions, 0 deletions
CHANGES
RELEASE-NOTES
+1
-0
1 addition, 0 deletions
RELEASE-NOTES
lib/gtls.c
+8
-1
8 additions, 1 deletion
lib/gtls.c
with
13 additions
and
1 deletion
CHANGES
+
4
−
0
View file @
74241e7d
...
...
@@ -6,6 +6,10 @@
Changelog
Daniel S (25 Feb 2008)
- Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
forces it to prefer SSLv3.
Daniel S (23 Feb 2008)
- Sam Listopad provided a patch in feature-request #1900014
http://curl.haxx.se/bug/feature.cgi?id=1900014 that makes libcurl (built to
...
...
This diff is collapsed.
Click to expand it.
RELEASE-NOTES
+
1
−
0
View file @
74241e7d
...
...
@@ -31,6 +31,7 @@ This release includes the following bugfixes:
o bad re-use of SSL connections in non-complete state
o test case 405 failures with GnuTLS builds
o crash when connection cache size is 1 and Curl_do() failed
o GnuTLS-built libcurl can now be forced to prefer SSLv3
This release includes the following known bugs:
...
...
This diff is collapsed.
Click to expand it.
lib/gtls.c
+
8
−
1
View file @
74241e7d
...
...
@@ -233,7 +233,7 @@ Curl_gtls_connect(struct connectdata *conn,
if
(
!
gtls_inited
)
_Curl_gtls_init
();
/* GnuTLS only supports
TLSv1 (and SSLv3?)
*/
/* GnuTLS only supports
SSLv3 and TLSv1
*/
if
(
data
->
set
.
ssl
.
version
==
CURL_SSLVERSION_SSLv2
)
{
failf
(
data
,
"GnuTLS does not support SSLv2"
);
return
CURLE_SSL_CONNECT_ERROR
;
...
...
@@ -280,6 +280,13 @@ Curl_gtls_connect(struct connectdata *conn,
if
(
rc
<
0
)
return
CURLE_SSL_CONNECT_ERROR
;
if
(
data
->
set
.
ssl
.
version
==
CURL_SSLVERSION_SSLv3
)
{
int
protocol_priority
[]
=
{
GNUTLS_SSL3
,
0
};
gnutls_protocol_set_priority
(
session
,
protocol_priority
);
if
(
rc
<
0
)
return
CURLE_SSL_CONNECT_ERROR
;
}
/* Sets the priority on the certificate types supported by gnutls. Priority
is higher for types specified before others. After specifying the types
you want, you must append a 0. */
...
...
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