summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/comp/c_rle.c
diff options
context:
space:
mode:
authortb <>2022-01-09 23:50:10 +0000
committertb <>2022-01-09 23:50:10 +0000
commit6fdfbb9f435044e140b7b1434c13471664a9de1c (patch)
tree015bdb3dad1610983701b6a466e4eee7db0708f4 /src/lib/libcrypto/comp/c_rle.c
parent1050bd87c0df9d7bceeb4e58ed0c9836dc272a6b (diff)
downloadopenbsd-6fdfbb9f435044e140b7b1434c13471664a9de1c.tar.gz
openbsd-6fdfbb9f435044e140b7b1434c13471664a9de1c.tar.bz2
openbsd-6fdfbb9f435044e140b7b1434c13471664a9de1c.zip
Add an essentially empty comp_local.h and include it where it will
be needed. discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/comp/c_rle.c')
-rw-r--r--src/lib/libcrypto/comp/c_rle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/comp/c_rle.c b/src/lib/libcrypto/comp/c_rle.c
index 7004c35029..93b2f3c71b 100644
--- a/src/lib/libcrypto/comp/c_rle.c
+++ b/src/lib/libcrypto/comp/c_rle.c
@@ -1,10 +1,12 @@
1/* $OpenBSD: c_rle.c,v 1.8 2014/11/03 16:58:28 tedu Exp $ */ 1/* $OpenBSD: c_rle.c,v 1.9 2022/01/09 23:50:10 tb Exp $ */
2#include <stdio.h> 2#include <stdio.h>
3#include <stdlib.h> 3#include <stdlib.h>
4#include <string.h> 4#include <string.h>
5#include <openssl/objects.h> 5#include <openssl/objects.h>
6#include <openssl/comp.h> 6#include <openssl/comp.h>
7 7
8#include "comp_local.h"
9
8static int rle_compress_block(COMP_CTX *ctx, unsigned char *out, 10static int rle_compress_block(COMP_CTX *ctx, unsigned char *out,
9 unsigned int olen, unsigned char *in, unsigned int ilen); 11 unsigned int olen, unsigned char *in, unsigned int ilen);
10static int rle_expand_block(COMP_CTX *ctx, unsigned char *out, 12static int rle_expand_block(COMP_CTX *ctx, unsigned char *out,