Import OpenSSL 1.1.0h
This commit is contained in:
@@ -83,7 +83,7 @@ static int ok_read(BIO *h, char *buf, int size);
|
||||
static long ok_ctrl(BIO *h, int cmd, long arg1, void *arg2);
|
||||
static int ok_new(BIO *h);
|
||||
static int ok_free(BIO *data);
|
||||
static long ok_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
|
||||
static long ok_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
|
||||
|
||||
static __owur int sig_out(BIO *b);
|
||||
static __owur int sig_in(BIO *b);
|
||||
@@ -108,7 +108,8 @@ typedef struct ok_struct {
|
||||
} BIO_OK_CTX;
|
||||
|
||||
static const BIO_METHOD methods_ok = {
|
||||
BIO_TYPE_CIPHER, "reliable",
|
||||
BIO_TYPE_CIPHER,
|
||||
"reliable",
|
||||
ok_write,
|
||||
ok_read,
|
||||
NULL, /* ok_puts, */
|
||||
@@ -398,7 +399,7 @@ static long ok_ctrl(BIO *b, int cmd, long num, void *ptr)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static long ok_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
|
||||
static long ok_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
|
||||
{
|
||||
long ret = 1;
|
||||
BIO *next;
|
||||
|
||||
Reference in New Issue
Block a user