early-access version 2698
This commit is contained in:
9
externals/libressl/crypto/evp/bio_b64.c
vendored
9
externals/libressl/crypto/evp/bio_b64.c
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: bio_b64.c,v 1.22 2018/08/24 19:47:25 tb Exp $ */
|
||||
/* $OpenBSD: bio_b64.c,v 1.25 2022/01/14 08:40:57 tb Exp $ */
|
||||
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -63,6 +63,9 @@
|
||||
#include <openssl/buffer.h>
|
||||
#include <openssl/evp.h>
|
||||
|
||||
#include "bio_local.h"
|
||||
#include "evp_locl.h"
|
||||
|
||||
static int b64_write(BIO *h, const char *buf, int num);
|
||||
static int b64_read(BIO *h, char *buf, int size);
|
||||
static int b64_puts(BIO *h, const char *str);
|
||||
@@ -70,7 +73,7 @@ static int b64_puts(BIO *h, const char *str);
|
||||
static long b64_ctrl(BIO *h, int cmd, long arg1, void *arg2);
|
||||
static int b64_new(BIO *h);
|
||||
static int b64_free(BIO *data);
|
||||
static long b64_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp);
|
||||
static long b64_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
|
||||
#define B64_BLOCK_SIZE 1024
|
||||
#define B64_BLOCK_SIZE2 768
|
||||
#define B64_NONE 0
|
||||
@@ -547,7 +550,7 @@ again:
|
||||
}
|
||||
|
||||
static long
|
||||
b64_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
|
||||
b64_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
|
||||
{
|
||||
long ret = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user