mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
added check if input is not binary
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
/* from https://github.com/tlinden/curve-keygen/ */
|
||||
#ifndef _HAVE_PCP_Z85_H
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#include "defines.h"
|
||||
#include "zmq_z85.h"
|
||||
#include "mem.h"
|
||||
@@ -44,4 +46,6 @@ char *pcp_z85_encode(unsigned char *raw, size_t srclen, size_t *dstlen);
|
||||
char *pcp_readz85file(FILE *infile);
|
||||
char *pcp_readz85string(unsigned char *input, size_t bufsize);
|
||||
|
||||
size_t _buffer_is_binary(unsigned char *buf, size_t len);
|
||||
|
||||
#endif /* _HAVE_PCP_Z85_H */
|
||||
|
||||
Reference in New Issue
Block a user