summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-05-22 08:23:22 +0200
committerWerner Koch <wk@gnupg.org>2002-05-22 08:23:22 +0200
commit3910c0f005523f69bf23cdcc8708a874f5c5004c (patch)
tree8bceca5afd25e5dde254d8186eeac2a22ab06812
parent* keylist.c (list_internal_keys): Renamed from gpgsm_list_keys. (diff)
downloadgnupg2-3910c0f005523f69bf23cdcc8708a874f5c5004c.tar.xz
gnupg2-3910c0f005523f69bf23cdcc8708a874f5c5004c.zip
* mkdtemp.c: Replaced byte by unsigned char because it is no longer
defined in gcrypt.h.
-rw-r--r--common/ChangeLog5
-rw-r--r--common/mkdtemp.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index bf81cf873..7e273d837 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-22 Werner Koch <wk@gnupg.org>
+
+ * mkdtemp.c: Replaced byte by unsigned char because it is no longer
+ defined in gcrypt.h.
+
2002-05-21 Werner Koch <wk@gnupg.org>
* maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors.
diff --git a/common/mkdtemp.c b/common/mkdtemp.c
index 9b76f8957..5347b9cb4 100644
--- a/common/mkdtemp.c
+++ b/common/mkdtemp.c
@@ -38,7 +38,7 @@
char *mkdtemp(char *template)
{
int attempts,idx,count=0;
- byte *ch;
+ unsigned char *ch;
idx=strlen(template);
@@ -62,7 +62,7 @@ char *mkdtemp(char *template)
{
int remaining=count;
char *marker=ch;
- byte *randombits;
+ unsigned char *randombits;
idx=0;