LIBGCRYPT-1-2-BRANCH libgcrypt/src (ChangeLog global.c)
cvs user mo
cvs at cvs.gnupg.org
Fri Jun 17 14:32:44 CEST 2005
Date: Friday, June 17, 2005 @ 14:55:24
Author: mo
Path: /cvs/libgcrypt/libgcrypt/src
Tag: LIBGCRYPT-1-2-BRANCH
Modified: ChangeLog global.c
2005-06-17 Moritz Schulte <moritz at g10code.com>
* global.c (gcry_xstrdup): Removed superfluous strcpy call.
-----------+
ChangeLog | 4 ++++
global.c | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
Index: libgcrypt/src/ChangeLog
diff -u libgcrypt/src/ChangeLog:1.151.2.16 libgcrypt/src/ChangeLog:1.151.2.17
--- libgcrypt/src/ChangeLog:1.151.2.16 Thu Jun 16 12:05:53 2005
+++ libgcrypt/src/ChangeLog Fri Jun 17 14:55:23 2005
@@ -1,3 +1,7 @@
+2005-06-17 Moritz Schulte <moritz at g10code.com>
+
+ * global.c (gcry_xstrdup): Removed superfluous strcpy call.
+
2005-06-16 Werner Koch <wk at g10code.com>
* sexp.c (normalize): Made P unsigned.
Index: libgcrypt/src/global.c
diff -u libgcrypt/src/global.c:1.45.2.4 libgcrypt/src/global.c:1.45.2.5
--- libgcrypt/src/global.c:1.45.2.4 Sat Apr 16 19:33:40 2005
+++ libgcrypt/src/global.c Fri Jun 17 14:55:23 2005
@@ -72,8 +72,10 @@
err = _gcry_md_init ();
if (! err)
err = _gcry_pk_init ();
+#if 0
if (! err)
err = _gcry_ac_init ();
+#endif
if (err)
/* FIXME? */
@@ -629,7 +631,6 @@
}
}
- strcpy( p, string );
return p;
}
More information about the Gnupg-commits
mailing list