From d49881cb19971c058eca4a41317b6487bf939e5c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 3 Feb 2016 05:09:25 +0100 Subject: URLs: change more http to https --- lib/connect.c | 2 +- lib/connect.h | 2 +- lib/curl_ntlm_wb.c | 4 ++-- lib/curl_rtmp.c | 2 +- lib/dotdot.c | 2 +- lib/escape.c | 2 +- lib/hostcheck.c | 2 +- lib/http_digest.c | 2 +- lib/vtls/gtls.c | 2 +- lib/vtls/schannel.c | 16 +++++++++------- lib/vtls/vtls.c | 2 +- lib/vtls/vtls.h | 2 +- 12 files changed, 21 insertions(+), 19 deletions(-) (limited to 'lib') diff --git a/lib/connect.c b/lib/connect.c index 6a16b2da8..4ad4ec403 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -912,7 +912,7 @@ static void nosigpipe(struct connectdata *conn, /* When you run a program that uses the Windows Sockets API, you may experience slow performance when you copy data to a TCP server. - http://support.microsoft.com/kb/823764 + https://support.microsoft.com/kb/823764 Work-around: Make the Socket Send Buffer Size Larger Than the Program Send Buffer Size diff --git a/lib/connect.h b/lib/connect.h index 7ef6c7ed7..f3d4ac747 100644 --- a/lib/connect.h +++ b/lib/connect.h @@ -56,7 +56,7 @@ curl_socket_t Curl_getconnectinfo(struct SessionHandle *data, /* When you run a program that uses the Windows Sockets API, you may experience slow performance when you copy data to a TCP server. - http://support.microsoft.com/kb/823764 + https://support.microsoft.com/kb/823764 Work-around: Make the Socket Send Buffer Size Larger Than the Program Send Buffer Size diff --git a/lib/curl_ntlm_wb.c b/lib/curl_ntlm_wb.c index 93d0eecd2..06f66702d 100644 --- a/lib/curl_ntlm_wb.c +++ b/lib/curl_ntlm_wb.c @@ -373,8 +373,8 @@ CURLcode Curl_output_ntlm_wb(struct connectdata *conn, * by delegating the NTLM challenge/response protocal to a helper * in ntlm_auth. * http://devel.squid-cache.org/ntlm/squid_helper_protocol.html - * http://www.samba.org/samba/docs/man/manpages-3/winbindd.8.html - * http://www.samba.org/samba/docs/man/manpages-3/ntlm_auth.1.html + * https://www.samba.org/samba/docs/man/manpages-3/winbindd.8.html + * https://www.samba.org/samba/docs/man/manpages-3/ntlm_auth.1.html * Preprocessor symbol 'NTLM_WB_ENABLED' is defined when this * feature is enabled and 'NTLM_WB_FILE' symbol holds absolute * filename of ntlm_auth helper. diff --git a/lib/curl_rtmp.c b/lib/curl_rtmp.c index 467660359..06dd047a4 100644 --- a/lib/curl_rtmp.c +++ b/lib/curl_rtmp.c @@ -55,7 +55,7 @@ static Curl_recv rtmp_recv; static Curl_send rtmp_send; /* - * RTMP protocol handler.h, based on http://rtmpdump.mplayerhq.hu + * RTMP protocol handler.h, based on https://rtmpdump.mplayerhq.hu */ const struct Curl_handler Curl_handler_rtmp = { diff --git a/lib/dotdot.c b/lib/dotdot.c index c7f42b1cc..99fac7f98 100644 --- a/lib/dotdot.c +++ b/lib/dotdot.c @@ -30,7 +30,7 @@ /* * "Remove Dot Segments" - * http://tools.ietf.org/html/rfc3986#section-5.2.4 + * https://tools.ietf.org/html/rfc3986#section-5.2.4 */ /* diff --git a/lib/escape.c b/lib/escape.c index 3da6c0cea..40338a904 100644 --- a/lib/escape.c +++ b/lib/escape.c @@ -39,7 +39,7 @@ /* Portable character check (remember EBCDIC). Do not use isalnum() because its behavior is altered by the current locale. - See http://tools.ietf.org/html/rfc3986#section-2.3 + See https://tools.ietf.org/html/rfc3986#section-2.3 */ static bool Curl_isunreserved(unsigned char in) { diff --git a/lib/hostcheck.c b/lib/hostcheck.c index ab640fe6a..4db9e6ba8 100644 --- a/lib/hostcheck.c +++ b/lib/hostcheck.c @@ -43,7 +43,7 @@ * "foo.host.com" matches "*.host.com". * * We use the matching rule described in RFC6125, section 6.4.3. - * http://tools.ietf.org/html/rfc6125#section-6.4.3 + * https://tools.ietf.org/html/rfc6125#section-6.4.3 * * In addition: ignore trailing dots in the host names and wildcards, so that * the names are used normalized. This is what the browsers do. diff --git a/lib/http_digest.c b/lib/http_digest.c index 11809d0cc..dc867d52e 100644 --- a/lib/http_digest.c +++ b/lib/http_digest.c @@ -135,7 +135,7 @@ CURLcode Curl_output_digest(struct connectdata *conn, Apache servers can be set to do the Digest IE-style automatically using the BrowserMatch feature: - http://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#msie + https://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html#msie Further details on Digest implementation differences: http://www.fngtps.com/2006/09/http-authentication 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" -- cgit v1.2.3