summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-02-05 17:00:41 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2019-03-13 10:59:34 +0100
commit8c734df4b5b1496fa44586d3490693b35fb04d9a (patch)
tree73572c89934b6635f662be7f08fbc37aee97ee86 /src
parent699cd8bd5a8e6d7eea28842e2011a25e1963daf6 (diff)
downloadgnutls-8c734df4b5b1496fa44586d3490693b35fb04d9a.tar.gz
Use https:// in lib/, src/, and m4/
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'src')
-rw-r--r--src/certtool-args.def6
-rw-r--r--src/certtool.c2
-rw-r--r--src/common.c2
-rw-r--r--src/ocsptool-args.def4
-rw-r--r--src/serv.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/certtool-args.def b/src/certtool-args.def
index ca280dfbe1..27ca2c8ed4 100644
--- a/src/certtool-args.def
+++ b/src/certtool-args.def
@@ -951,7 +951,7 @@ challenge_password = 123456
# An URL that has CRLs (certificate revocation lists)
# available. Needed in CA certificates.
-#crl_dist_points = "http://www.getcrl.crl/getcrl/"
+#crl_dist_points = "https://www.getcrl.crl/getcrl/"
# Whether this is a CA certificate or not
#ca
@@ -1074,10 +1074,10 @@ encryption_key
#path_len = 2
# OCSP URI
-# ocsp_uri = http://my.ocsp.server/ocsp
+# ocsp_uri = https://my.ocsp.server/ocsp
# CA issuers URI
-# ca_issuers_uri = http://my.ca.issuer
+# ca_issuers_uri = https://my.ca.issuer
# Certificate policies
#policy1 = 1.3.6.1.4.1.5484.1.10.99.1.0
diff --git a/src/certtool.c b/src/certtool.c
index 376442ac33..ea8fc81c67 100644
--- a/src/certtool.c
+++ b/src/certtool.c
@@ -651,7 +651,7 @@ generate_certificate(gnutls_privkey_t * ret_key,
get_ca_issuers_set(crt);
if (usage != 0) {
- /* http://tools.ietf.org/html/rfc4945#section-5.1.3.2: if any KU is
+ /* https://tools.ietf.org/html/rfc4945#section-5.1.3.2: if any KU is
set, then either digitalSignature or the nonRepudiation bits in the
KeyUsage extension MUST for all IKE certs */
if (is_ike && (get_sign_status(server) != 1))
diff --git a/src/common.c b/src/common.c
index 8303b60a00..b1cb519e2f 100644
--- a/src/common.c
+++ b/src/common.c
@@ -21,7 +21,7 @@
#include <config.h>
/* Work around problem reported in
- <http://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/15755>.*/
+ <https://permalink.gmane.org/gmane.comp.lib.gnulib.bugs/15755>.*/
#if GETTIMEOFDAY_CLOBBERS_LOCALTIME
#undef localtime
#endif
diff --git a/src/ocsptool-args.def b/src/ocsptool-args.def
index b57088fead..c0d54e5c07 100644
--- a/src/ocsptool-args.def
+++ b/src/ocsptool-args.def
@@ -293,7 +293,7 @@ this information:
@example
Authority Information Access Information (not critical):
Access Method: 1.3.6.1.5.5.7.48.1 (id-ad-ocsp)
- Access Location URI: http://ocsp.CAcert.org/
+ Access Location URI: https://ocsp.CAcert.org/
@end example
This means that ocsptool can discover the servers to contact over HTTP.
@@ -309,7 +309,7 @@ OCSP server as well as ask information on a particular certificate
using --load-cert and --load-issuer.
@example
-$ ocsptool --ask http://ocsp.CAcert.org/ --load-chain chain.pem
+$ ocsptool --ask https://ocsp.CAcert.org/ --load-chain chain.pem
@end example
_EOF_;
diff --git a/src/serv.c b/src/serv.c
index 254a69930f..bc490ee7da 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -508,7 +508,7 @@ gnutls_session_t initialize_session(int dtls)
static const char DEFAULT_DATA[] =
"This is the default message reported by the GnuTLS implementation. "
"For more information please visit "
- "<a href=\"http://www.gnutls.org/\">http://www.gnutls.org/</a>.";
+ "<a href=\"https://www.gnutls.org/\">https://www.gnutls.org/</a>.";
/* Creates html with the current session information.
*/