|
|
@ -197,7 +197,6 @@ static long md_ctrl(BIO *b, int cmd, long num, void *ptr) |
|
|
|
|
|
|
|
static long md_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) |
|
|
|
{ |
|
|
|
long ret = 1; |
|
|
|
BIO *next; |
|
|
|
|
|
|
|
next = BIO_next(b); |
|
|
@ -205,12 +204,7 @@ static long md_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) |
|
|
|
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 int md_gets(BIO *bp, char *buf, int size) |
|
|
|