diff options
Diffstat (limited to 'src/lib/libcrypto/comp/c_rle.c')
-rw-r--r-- | src/lib/libcrypto/comp/c_rle.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/lib/libcrypto/comp/c_rle.c b/src/lib/libcrypto/comp/c_rle.c index 7a5db298c5..48e48cbb7a 100644 --- a/src/lib/libcrypto/comp/c_rle.c +++ b/src/lib/libcrypto/comp/c_rle.c | |||
@@ -10,14 +10,10 @@ static int rle_expand_block(COMP_CTX *ctx, unsigned char *out, | |||
10 | unsigned int olen, unsigned char *in, unsigned int ilen); | 10 | unsigned int olen, unsigned char *in, unsigned int ilen); |
11 | 11 | ||
12 | static COMP_METHOD rle_method = { | 12 | static COMP_METHOD rle_method = { |
13 | NID_rle_compression, | 13 | .type = NID_rle_compression, |
14 | LN_rle_compression, | 14 | .name = LN_rle_compression, |
15 | NULL, | 15 | .compress = rle_compress_block, |
16 | NULL, | 16 | .expand = rle_expand_block |
17 | rle_compress_block, | ||
18 | rle_expand_block, | ||
19 | NULL, | ||
20 | NULL, | ||
21 | }; | 17 | }; |
22 | 18 | ||
23 | COMP_METHOD * | 19 | COMP_METHOD * |