secmem patch

Dan Boger dan@xif.com
Fri, 20 Oct 2000 13:11:11 -0400


--GFPlsJ7YtLjXgs8j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

with all the questions about secmem, I figured a simple pointer can help,
without installing insecure options by default.  This was against 1.0.4,
but I believe it'll work with older versions as well.

just patch -p0 < secmemwarning.diff in the top level directory of gnupg.

-------------------------------- Cut here -------------------------------

diff -Naur util/secmem.c util.new/secmem.c
--- util/secmem.c       Mon Oct 16 11:43:41 2000
+++ util/secmem.c       Fri Oct 20 13:02:58 2000
@@ -76,7 +76,7 @@
 print_warn(void)
 {
     if( !no_warning )
-       log_info(_("Warning: using insecure memory!\n"));
+       log_info(_("Warning: using insecure memory!\nSee http://www.gnupg.o=
rg/faq.html#q6.1\n"));
 }

-------------------------------- Cut here -------------------------------

--=20
Dan Boger
System Administrator
dan@xif.com

--GFPlsJ7YtLjXgs8j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjnwfK8ACgkQTN2f0twYwJj/TACeLioshUe20Qp25ZpaUfHTwb5a
e1gAoLRUqL0Tz71xuDbZguKrVmQypnLm
=r8Aa
-----END PGP SIGNATURE-----

--GFPlsJ7YtLjXgs8j--

-- 
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of  "unsubscribe"  to gnupg-users-request@gnupg.org