projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix no-posix-io compile failure
[openssl.git]
/
test
/
testutil
/
tap_bio.c
diff --git
a/test/testutil/tap_bio.c
b/test/testutil/tap_bio.c
index 43c95c04a8a5072cb5d49ac2b52c083ed5748f7b..a6c903b5ae9305289953fe5f3677612803b0c667 100644
(file)
--- a/
test/testutil/tap_bio.c
+++ b/
test/testutil/tap_bio.c
@@
-18,7
+18,7
@@
static int tap_gets(BIO *b, char *str, int size);
static long tap_ctrl(BIO *b, int cmd, long arg1, void *arg2);
static int tap_new(BIO *b);
static int tap_free(BIO *b);
static long tap_ctrl(BIO *b, int cmd, long arg1, void *arg2);
static int tap_new(BIO *b);
static int tap_free(BIO *b);
-static long tap_callback_ctrl(BIO *h, int cmd,
bio
_info_cb *fp);
+static long tap_callback_ctrl(BIO *h, int cmd,
BIO
_info_cb *fp);
const BIO_METHOD *BIO_f_tap(void)
{
const BIO_METHOD *BIO_f_tap(void)
{
@@
-122,7
+122,7
@@
err:
static long tap_ctrl(BIO *b, int cmd, long num, void *ptr)
{
BIO *next = BIO_next(b);
static long tap_ctrl(BIO *b, int cmd, long num, void *ptr)
{
BIO *next = BIO_next(b);
-
+
switch (cmd) {
case BIO_CTRL_RESET:
BIO_set_data(b, NULL);
switch (cmd) {
case BIO_CTRL_RESET:
BIO_set_data(b, NULL);
@@
-134,7
+134,7
@@
static long tap_ctrl(BIO *b, int cmd, long num, void *ptr)
return BIO_ctrl(next, cmd, num, ptr);
}
return BIO_ctrl(next, cmd, num, ptr);
}
-static long tap_callback_ctrl(BIO *b, int cmd,
bio
_info_cb *fp)
+static long tap_callback_ctrl(BIO *b, int cmd,
BIO
_info_cb *fp)
{
return BIO_callback_ctrl(BIO_next(b), cmd, fp);
}
{
return BIO_callback_ctrl(BIO_next(b), cmd, fp);
}