early-access version 2698
This commit is contained in:
8
externals/libressl/crypto/comp/c_zlib.c
vendored
8
externals/libressl/crypto/comp/c_zlib.c
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: c_zlib.c,v 1.20 2018/03/17 16:20:01 beck Exp $ */
|
||||
/* $OpenBSD: c_zlib.c,v 1.22 2022/01/14 08:40:57 tb Exp $ */
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -6,6 +6,8 @@
|
||||
#include <openssl/comp.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
#include "comp_local.h"
|
||||
|
||||
COMP_METHOD *COMP_zlib(void );
|
||||
|
||||
static COMP_METHOD zlib_method_nozlib = {
|
||||
@@ -232,7 +234,7 @@ static int bio_zlib_free(BIO *bi);
|
||||
static int bio_zlib_read(BIO *b, char *out, int outl);
|
||||
static int bio_zlib_write(BIO *b, const char *in, int inl);
|
||||
static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr);
|
||||
static long bio_zlib_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp);
|
||||
static long bio_zlib_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
|
||||
|
||||
static BIO_METHOD bio_meth_zlib = {
|
||||
.type = BIO_TYPE_COMP,
|
||||
@@ -553,7 +555,7 @@ bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr)
|
||||
|
||||
|
||||
static long
|
||||
bio_zlib_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
|
||||
bio_zlib_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
|
||||
{
|
||||
if (!b->next_bio)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user