summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/comp/c_rle.c
diff options
context:
space:
mode:
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,