summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/base64.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-04-23 16:53:02 +0000
committerdes <des@FreeBSD.org>2003-04-23 16:53:02 +0000
commit6d34992e86f885f08b7df6e18a0b6af25ec2d664 (patch)
tree1a380064758bab3bc985ef1cc15a7b6633825c0f /crypto/openssh/openbsd-compat/base64.h
parentdf96ff7f3774ba5a36cf1c6729762872945cc60a (diff)
parent85b37b9574631df0f7e774dda373514195c74b29 (diff)
downloadFreeBSD-src-6d34992e86f885f08b7df6e18a0b6af25ec2d664.zip
FreeBSD-src-6d34992e86f885f08b7df6e18a0b6af25ec2d664.tar.gz
This commit was generated by cvs2svn to compensate for changes in r113908,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssh/openbsd-compat/base64.h')
-rw-r--r--crypto/openssh/openbsd-compat/base64.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/crypto/openssh/openbsd-compat/base64.h b/crypto/openssh/openbsd-compat/base64.h
index c92e70e..72db3ff 100644
--- a/crypto/openssh/openbsd-compat/base64.h
+++ b/crypto/openssh/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 */
OpenPOWER on IntegriCloud