diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
-rw-r--r-- | src/lib/libcrypto/bio/bio_lib.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c index 692c8fb5c6..50df2238fa 100644 --- a/src/lib/libcrypto/bio/bio_lib.c +++ b/src/lib/libcrypto/bio/bio_lib.c | |||
@@ -272,18 +272,6 @@ int BIO_gets(BIO *b, char *in, int inl) | |||
272 | return(i); | 272 | return(i); |
273 | } | 273 | } |
274 | 274 | ||
275 | int BIO_indent(BIO *b,int indent,int max) | ||
276 | { | ||
277 | if(indent < 0) | ||
278 | indent=0; | ||
279 | if(indent > max) | ||
280 | indent=max; | ||
281 | while(indent--) | ||
282 | if(BIO_puts(b," ") != 1) | ||
283 | return 0; | ||
284 | return 1; | ||
285 | } | ||
286 | |||
287 | long BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg) | 275 | long BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg) |
288 | { | 276 | { |
289 | int i; | 277 | int i; |
@@ -395,8 +383,6 @@ BIO *BIO_pop(BIO *b) | |||
395 | if (b == NULL) return(NULL); | 383 | if (b == NULL) return(NULL); |
396 | ret=b->next_bio; | 384 | ret=b->next_bio; |
397 | 385 | ||
398 | BIO_ctrl(b,BIO_CTRL_POP,0,NULL); | ||
399 | |||
400 | if (b->prev_bio != NULL) | 386 | if (b->prev_bio != NULL) |
401 | b->prev_bio->next_bio=b->next_bio; | 387 | b->prev_bio->next_bio=b->next_bio; |
402 | if (b->next_bio != NULL) | 388 | if (b->next_bio != NULL) |
@@ -404,6 +390,7 @@ BIO *BIO_pop(BIO *b) | |||
404 | 390 | ||
405 | b->next_bio=NULL; | 391 | b->next_bio=NULL; |
406 | b->prev_bio=NULL; | 392 | b->prev_bio=NULL; |
393 | BIO_ctrl(b,BIO_CTRL_POP,0,NULL); | ||
407 | return(ret); | 394 | return(ret); |
408 | } | 395 | } |
409 | 396 | ||