aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2016-02-03 05:09:25 +0100
committerJay Satiro <raysatiro@yahoo.com>2016-02-04 18:46:54 -0500
commitd49881cb19971c058eca4a41317b6487bf939e5c (patch)
tree3bad566d3db17bf714868284dd1e1c5ed70bc436 /lib/vtls
parent742deff4dddde519e8928c7b13a66a51e83383f1 (diff)
URLs: change more http to https
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/gtls.c2
-rw-r--r--lib/vtls/schannel.c16
-rw-r--r--lib/vtls/vtls.c2
-rw-r--r--lib/vtls/vtls.h2
4 files changed, 12 insertions, 10 deletions
diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c
index 03c6083ad..a9702c4a4 100644
--- a/lib/vtls/gtls.c
+++ b/lib/vtls/gtls.c
@@ -62,7 +62,7 @@
/*
Some hackish cast macros based on:
- http://library.gnome.org/devel/glib/unstable/glib-Type-Conversion-Macros.html
+ https://developer.gnome.org/glib/unstable/glib-Type-Conversion-Macros.html
*/
#ifndef GNUTLS_POINTER_TO_INT_CAST
#define GNUTLS_POINTER_TO_INT_CAST(p) ((int) (long) (p))
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c
index f5c1ff52d..7f7bd357d 100644
--- a/lib/vtls/schannel.c
+++ b/lib/vtls/schannel.c
@@ -189,7 +189,8 @@ schannel_connect_step1(struct connectdata *conn, int sockindex)
}
memset(connssl->cred, 0, sizeof(struct curl_schannel_cred));
- /* http://msdn.microsoft.com/en-us/library/windows/desktop/aa374716.aspx */
+ /* https://msdn.microsoft.com/en-us/library/windows/desktop/aa374716.aspx
+ */
sspi_status =
s_pSecFn->AcquireCredentialsHandle(NULL, (TCHAR *)UNISP_NAME,
SECPKG_CRED_OUTBOUND, NULL,
@@ -240,7 +241,7 @@ schannel_connect_step1(struct connectdata *conn, int sockindex)
if(!host_name)
return CURLE_OUT_OF_MEMORY;
- /* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx */
+ /* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx */
sspi_status = s_pSecFn->InitializeSecurityContext(
&connssl->cred->cred_handle, NULL, host_name,
@@ -407,8 +408,8 @@ schannel_connect_step2(struct connectdata *conn, int sockindex)
if(!host_name)
return CURLE_OUT_OF_MEMORY;
- /* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx */
-
+ /* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375924.aspx
+ */
sspi_status = s_pSecFn->InitializeSecurityContext(
&connssl->cred->cred_handle, &connssl->ctxt->ctxt_handle,
host_name, connssl->req_flags, 0, 0, &inbuf_desc, 0, NULL,
@@ -759,7 +760,7 @@ schannel_send(struct connectdata *conn, int sockindex,
/* copy data into output buffer */
memcpy(outbuf[1].pvBuffer, buf, len);
- /* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375390.aspx */
+ /* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375390.aspx */
sspi_status = s_pSecFn->EncryptMessage(&connssl->ctxt->ctxt_handle, 0,
&outbuf_desc, 0);
@@ -973,7 +974,8 @@ schannel_recv(struct connectdata *conn, int sockindex,
InitSecBuffer(&inbuf[3], SECBUFFER_EMPTY, NULL, 0);
InitSecBufferDesc(&inbuf_desc, inbuf, 4);
- /* http://msdn.microsoft.com/en-us/library/windows/desktop/aa375348.aspx */
+ /* https://msdn.microsoft.com/en-us/library/windows/desktop/aa375348.aspx
+ */
sspi_status = s_pSecFn->DecryptMessage(&connssl->ctxt->ctxt_handle,
&inbuf_desc, 0, NULL);
@@ -1234,7 +1236,7 @@ void Curl_schannel_close(struct connectdata *conn, int sockindex)
int Curl_schannel_shutdown(struct connectdata *conn, int sockindex)
{
- /* See http://msdn.microsoft.com/en-us/library/windows/desktop/aa380138.aspx
+ /* See https://msdn.microsoft.com/en-us/library/windows/desktop/aa380138.aspx
* Shutting Down an Schannel Connection
*/
struct SessionHandle *data = conn->data;
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index bcc958a09..36465a7f6 100644
--- a/lib/vtls/vtls.c
+++ b/lib/vtls/vtls.c
@@ -41,7 +41,7 @@
defines/macros #defined by the lib-specific header files.
"SSL/TLS Strong Encryption: An Introduction"
- http://httpd.apache.org/docs-2.0/ssl/ssl_intro.html
+ https://httpd.apache.org/docs/2.0/ssl/ssl_intro.html
*/
#include "curl_setup.h"
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h
index c79b9e69d..b6c66bfa3 100644
--- a/lib/vtls/vtls.h
+++ b/lib/vtls/vtls.h
@@ -46,7 +46,7 @@
#define SHA256_DIGEST_LENGTH 32 /* fixed size */
#endif
-/* see http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg-04 */
+/* see https://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg-04 */
#define ALPN_HTTP_1_1_LENGTH 8
#define ALPN_HTTP_1_1 "http/1.1"