static long ok_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
{
- long ret = 1;
BIO *next;
next = BIO_next(b);
if (next == NULL)
return 0;
- switch (cmd) {
- default:
- ret = BIO_callback_ctrl(next, cmd, fp);
- break;
- }
-
- return ret;
+ return BIO_callback_ctrl(next, cmd, fp);
}
static void longswap(void *_ptr, size_t len)