summaryrefslogtreecommitdiff
path: root/openbsd-compat/base64.h
diff options
context:
space:
mode:
authordjm <djm>2003-02-24 04:45:42 +0000
committerdjm <djm>2003-02-24 04:45:42 +0000
commitd314eb68fbec1dc5501e2bc9918851048fba1284 (patch)
treee15bf52ef0742a1b935ef82f0d7311b7ceda85d6 /openbsd-compat/base64.h
parent5fa306cd1103b3066eaf886a8b07d67a49f0446e (diff)
downloadopenssh-d314eb68fbec1dc5501e2bc9918851048fba1284.tar.gz
- (djm) Bug #456: Support for NEC SX6 with Unicos; from wendyp@cray.com
Diffstat (limited to 'openbsd-compat/base64.h')
-rw-r--r--openbsd-compat/base64.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/openbsd-compat/base64.h b/openbsd-compat/base64.h
index c92e70ea..72db3ffc 100644
--- a/openbsd-compat/base64.h
+++ b/openbsd-compat/base64.h
@@ -1,4 +1,4 @@
-/* $Id: base64.h,v 1.3 2002/02/26 16:59:59 stevesk Exp $ */
+/* $Id: base64.h,v 1.4 2003/02/24 04:45:43 djm Exp $ */
#ifndef _BSD_BASE64_H
#define _BSD_BASE64_H
@@ -9,10 +9,15 @@
# ifndef HAVE_B64_NTOP
int b64_ntop(u_char const *src, size_t srclength, char *target,
size_t targsize);
-int b64_pton(char const *src, u_char *target, size_t targsize);
# endif /* !HAVE_B64_NTOP */
# define __b64_ntop b64_ntop
-# define __b64_pton b64_pton
#endif /* HAVE___B64_NTOP */
+#ifndef HAVE___B64_PTON
+# ifndef HAVE_B64_PTON
+int b64_pton(char const *src, u_char *target, size_t targsize);
+# endif /* !HAVE_B64_PTON */
+# define __b64_pton b64_pton
+#endif /* HAVE___B64_PTON */
+
#endif /* _BSD_BASE64_H */