summaryrefslogtreecommitdiff
path: root/openbsd-compat/mktemp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-01-07 15:18:32 +1100
committerDamien Miller <djm@mindrot.org>2003-01-07 15:18:32 +1100
commite832819cf7289b467070fc31c5080c133f0a101e (patch)
tree5c0cfb811b429cd71c551dda025442f16ccd7114 /openbsd-compat/mktemp.c
parent48cb8aa935211ff95ff62267a799d3548df442d4 (diff)
downloadopenssh-git-e832819cf7289b467070fc31c5080c133f0a101e.tar.gz
- (djm) Bug #26: Use local mkstemp() rather than glibc's silly one. Fixes
Can't pass KRB4 TGT passing. Fix from: jan.iven@cern.ch
Diffstat (limited to 'openbsd-compat/mktemp.c')
-rw-r--r--openbsd-compat/mktemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/mktemp.c b/openbsd-compat/mktemp.c
index d256ee44..c951050c 100644
--- a/openbsd-compat/mktemp.c
+++ b/openbsd-compat/mktemp.c
@@ -36,7 +36,7 @@
#include "includes.h"
-#ifndef HAVE_MKDTEMP
+#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
#if defined(LIBC_SCCS) && !defined(lint)
static char rcsid[] = "$OpenBSD: mktemp.c,v 1.16 2002/05/27 18:20:45 millert Exp $";
@@ -181,4 +181,4 @@ _gettemp(path, doopen, domkdir, slen)
/*NOTREACHED*/
}
-#endif /* !HAVE_MKDTEMP */
+#endif /* !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) */