From a81534fed8ff34b67a2726d333d9725454663c82 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 18 Oct 2018 00:10:19 -0400 Subject: [PATCH] doc: convert more http:// links to https:// -- Signed-off-by: Daniel Kahn Gillmor --- gpgme.txt | 4 ++-- lang/js/src/Helpers.js | 2 +- lang/python/README | 2 +- lang/python/README.org | 2 +- lang/python/doc/rst/gpgme-python-howto.rst | 4 ++-- lang/python/doc/src/gpgme-python-howto.org | 4 ++-- lang/python/doc/texinfo/gpgme-python-howto.texi | 6 +++--- lang/python/setup.py.in | 2 +- lang/python/tests/t-idiomatic.py | 2 +- src/argparse.c | 4 ++-- src/cJSON.readme | 4 ++-- 11 files changed, 18 insertions(+), 18 deletions(-) diff --git a/gpgme.txt b/gpgme.txt index 88d629bf..52998604 100644 --- a/gpgme.txt +++ b/gpgme.txt @@ -35,9 +35,9 @@ support OpenPGP and the Cryptographic Message Syntax. %%GNU: no -%%web-page: http://www.gnupg.org/gpgme.html +%%web-page: https://www.gnupg.org/gpgme.html -%%support: paid extension/consulting from http://www.g10code.com +%%support: paid extension/consulting from https://www.g10code.com %%doc: English programmer reference in Texinfo, Postscript, HTML included diff --git a/lang/js/src/Helpers.js b/lang/js/src/Helpers.js index 5386e960..f472b234 100644 --- a/lang/js/src/Helpers.js +++ b/lang/js/src/Helpers.js @@ -169,7 +169,7 @@ export function atobArray (base64) { * Turns a Uint8Array into an utf8-String *
  * Taken and slightly adapted from
- *  http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt
+ *  https://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt
  * (original header:
  *   utf.js - UTF-8 <=> UTF-16 convertion
  *
diff --git a/lang/python/README b/lang/python/README
index a13345f7..138e566e 100644
--- a/lang/python/README
+++ b/lang/python/README
@@ -74,4 +74,4 @@ functionality of the underlying library.
 
   • A previous version of PyME v0.5.1 which works with GPGME v0.3.15 can
     be found on John Goerzen's PyME page: 
-    
+    
diff --git a/lang/python/README.org b/lang/python/README.org
index bd7047cc..cdca8de7 100644
--- a/lang/python/README.org
+++ b/lang/python/README.org
@@ -57,4 +57,4 @@ references to previous versions.
  - A previous version of PyME v0.5.1 which works with GPGME v0.3.15
    can be found on John Goerzen's PyME page:
    [[http://quux.org/devel/pyme/][PyME 0.3.15]]
-   [[http://www.complete.org/JohnGoerzen][John Goerzen]]
+   [[https://www.complete.org/JohnGoerzen][John Goerzen]]
diff --git a/lang/python/doc/rst/gpgme-python-howto.rst b/lang/python/doc/rst/gpgme-python-howto.rst
index 91814911..104b530e 100644
--- a/lang/python/doc/rst/gpgme-python-howto.rst
+++ b/lang/python/doc/rst/gpgme-python-howto.rst
@@ -146,7 +146,7 @@ The bullet points of new additiions are:
 -  Added a new section for `advanced or experimental
    use <#advanced-use>`__.
 -  Began the advanced use cases with `a section <#cython>`__ on using
-   the module with `Cython `__.
+   the module with `Cython `__.
 -  Added a number of new scripts to the ``example/howto/`` directory;
    some of which may be in advance of their planned sections of the
    HOWTO (and some are just there because it seemed like a good idea at
@@ -324,7 +324,7 @@ significant advantage in some way.
 #. If possible add the following Python modules which are not part of
    the standard library:
    `Requests `__,
-   `Cython `__ and
+   `Cython `__ and
    `hkp4py `__. Chances are quite
    high that at least the first one and maybe two of those will already
    be installed.
diff --git a/lang/python/doc/src/gpgme-python-howto.org b/lang/python/doc/src/gpgme-python-howto.org
index caa8e2f1..83b91e8d 100644
--- a/lang/python/doc/src/gpgme-python-howto.org
+++ b/lang/python/doc/src/gpgme-python-howto.org
@@ -142,7 +142,7 @@ The bullet points of new additiions are:
   reST file was generated by the simple expedient of using [[https://pandoc.org/][Pandoc]].
 - Added a new section for [[#advanced-use][advanced or experimental use]].
 - Began the advanced use cases with [[#cython][a section]] on using the module with
-  [[http://cython.org/][Cython]].
+  [[https://cython.org/][Cython]].
 - Added a number of new scripts to the =example/howto/= directory;
   some of which may be in advance of their planned sections of the
   HOWTO (and some are just there because it seemed like a good idea at
@@ -331,7 +331,7 @@ a significant advantage in some way.
    reach EOL soon.  In production systems and services, Python 3.6
    should be robust enough to be relied on.
 3. If possible add the following Python modules which are not part of
-   the standard library: [[http://docs.python-requests.org/en/latest/index.html][Requests]], [[http://cython.org/][Cython]] and [[https://github.com/Selfnet/hkp4py][hkp4py]].  Chances are
+   the standard library: [[http://docs.python-requests.org/en/latest/index.html][Requests]], [[https://cython.org/][Cython]] and [[https://github.com/Selfnet/hkp4py][hkp4py]].  Chances are
    quite high that at least the first one and maybe two of those will
    already be installed.
 
diff --git a/lang/python/doc/texinfo/gpgme-python-howto.texi b/lang/python/doc/texinfo/gpgme-python-howto.texi
index 40beb7ad..695ed15a 100644
--- a/lang/python/doc/texinfo/gpgme-python-howto.texi
+++ b/lang/python/doc/texinfo/gpgme-python-howto.texi
@@ -313,7 +313,7 @@ reST file was generated by the simple expedient of using @uref{https://pandoc.or
 Added a new section for @ref{Advanced or Experimental Use Cases, , advanced or experimental use}.
 @item
 Began the advanced use cases with @ref{C plus Python plus SWIG plus Cython, , a section} on using the module with
-@uref{http://cython.org/, Cython}.
+@uref{https://cython.org/, Cython}.
 @item
 Added a number of new scripts to the @samp{example/howto/} directory;
 some of which may be in advance of their planned sections of the
@@ -504,7 +504,7 @@ reach EOL soon.  In production systems and services, Python 3.6
 should be robust enough to be relied on.
 @item
 If possible add the following Python modules which are not part of
-the standard library: @uref{http://docs.python-requests.org/en/latest/index.html, Requests}, @uref{http://cython.org/, Cython} and @uref{https://github.com/Selfnet/hkp4py, hkp4py}.  Chances are
+the standard library: @uref{http://docs.python-requests.org/en/latest/index.html, Requests}, @uref{https://cython.org/, Cython} and @uref{https://github.com/Selfnet/hkp4py, hkp4py}.  Chances are
 quite high that at least the first one and maybe two of those will
 already be installed.
 @end enumerate
@@ -3152,4 +3152,4 @@ WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 
-@bye
\ No newline at end of file
+@bye
diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
index 65a4be05..f23015a2 100755
--- a/lang/python/setup.py.in
+++ b/lang/python/setup.py.in
@@ -216,7 +216,7 @@ class BuildExtFirstHack(build):
         self._generate_gpgme_h(gpgme_h, self._in_build_base("gpgme.h"))
         self._generate_errors_i()
 
-        # Copy due to http://bugs.python.org/issue2624
+        # Copy due to https://bugs.python.org/issue2624
         # Avoid creating in srcdir
         for source, target in ((in_srcdir(n), self._in_build_base(n))
                                for n in ('gpgme.i', 'helpers.c', 'private.h',
diff --git a/lang/python/tests/t-idiomatic.py b/lang/python/tests/t-idiomatic.py
index 36f81372..bc05e6c6 100755
--- a/lang/python/tests/t-idiomatic.py
+++ b/lang/python/tests/t-idiomatic.py
@@ -71,7 +71,7 @@ if sys.version_info[0] == 3:
     # hence we cannot use it as sink.
 
     # XXX: Python's io.BytesIo.truncate does not work as advertised.
-    # http://bugs.python.org/issue27261
+    # https://bugs.python.org/issue27261
     bio = io.BytesIO()
     bio.truncate(1)
     if len(bio.getvalue()) != 1:
diff --git a/src/argparse.c b/src/argparse.c
index 758173f8..f3a5a485 100644
--- a/src/argparse.c
+++ b/src/argparse.c
@@ -1493,10 +1493,10 @@ strusage( int level )
     case 10:
 #if ARGPARSE_GPL_VERSION == 3
       p = ("License GPLv3+: GNU GPL version 3 or later "
-           "");
+           "");
 #else
       p = ("License GPLv2+: GNU GPL version 2 or later "
-           "");
+           "");
 #endif
       break;
     case 11: p = "foo"; break;
diff --git a/src/cJSON.readme b/src/cJSON.readme
index 61623b4f..2c9b8960 100644
--- a/src/cJSON.readme
+++ b/src/cJSON.readme
@@ -25,7 +25,7 @@ Welcome to cJSON.
 cJSON aims to be the dumbest possible parser that you can get your job
 done with.  It's a single file of C, and a single header file.
 
-JSON is described best here: http://www.json.org/ It's like XML, but
+JSON is described best here: https://www.json.org/ It's like XML, but
 fat-free. You use it to move data around, store things, or just
 generally represent your program's state.
 
@@ -44,7 +44,7 @@ truth), I'm going to say that you can use it in one of two modes: Auto
 and Manual. Let's have a quick run-through.
 
 
-I lifted some JSON from this page: http://www.json.org/fatfree.html
+I lifted some JSON from this page: https://www.json.org/fatfree.html
 That page inspired me to write cJSON, which is a parser that tries to
 share the same philosophy as JSON itself. Simple, dumb, out of the
 way.