summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/libopenbsd-compat/common/base64.c
diff options
context:
space:
mode:
authorjp161948 <none@none>2007-10-12 03:45:44 -0700
committerjp161948 <none@none>2007-10-12 03:45:44 -0700
commit442d23f49355a5d0694c758975be57af39f91a61 (patch)
treee23b7adde8dcbf0470e4de6883cfbef0bdcfd165 /usr/src/cmd/ssh/libopenbsd-compat/common/base64.c
parentd54f1b9de6449e2955636f55ecfb3d50e13a0d98 (diff)
downloadillumos-gate-442d23f49355a5d0694c758975be57af39f91a61.tar.gz
PSARC/2007/034 ssh/sshd resync with OpenSSH
6324633 OpenSSH HashKnownHosts functionality desired for SunSSH
Diffstat (limited to 'usr/src/cmd/ssh/libopenbsd-compat/common/base64.c')
-rw-r--r--usr/src/cmd/ssh/libopenbsd-compat/common/base64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/ssh/libopenbsd-compat/common/base64.c b/usr/src/cmd/ssh/libopenbsd-compat/common/base64.c
index 9fe91f2208..62776ce4e0 100644
--- a/usr/src/cmd/ssh/libopenbsd-compat/common/base64.c
+++ b/usr/src/cmd/ssh/libopenbsd-compat/common/base64.c
@@ -42,6 +42,8 @@
* IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
+#pragma ident "%Z%%M% %I% %E% SMI"
+
#include "includes.h"
#if !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP)
@@ -198,7 +200,7 @@ 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)
+b64_pton(u_char const *src, u_char *target, size_t targsize)
{
int tarindex, state, ch;
char *pos;
@@ -315,5 +317,3 @@ b64_pton(char const *src, u_char *target, size_t targsize)
}
#endif /* !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) */
-
-#pragma ident "%Z%%M% %I% %E% SMI"