mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 00:57:33 -05:00
Move prototypes for base64_decode_atom(), base64_lines(), and base64_encode()
from import.c to ssh.h, so that the implementation can see them. This necessitates ssh.h's including <stdio.h>. Also remove a spare prototype for base64_encode_atom() from import.c. [originally from svn r2481]
This commit is contained in:
5
import.c
5
import.c
@ -122,11 +122,6 @@ int export_ssh2(char *filename, int type,
|
||||
(c) == '+' || (c) == '/' || (c) == '=' \
|
||||
)
|
||||
|
||||
extern int base64_decode_atom(char *atom, unsigned char *out);
|
||||
extern int base64_lines(int datalen);
|
||||
extern void base64_encode_atom(unsigned char *data, int n, char *out);
|
||||
extern void base64_encode(FILE *fp, unsigned char *data, int datalen, int cpl);
|
||||
|
||||
/*
|
||||
* Read an ASN.1/BER identifier and length pair.
|
||||
*
|
||||
|
Reference in New Issue
Block a user