summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio_lib.c
diff options
context:
space:
mode:
authorderaadt <>2014-04-17 17:50:45 +0000
committerderaadt <>2014-04-17 17:50:45 +0000
commit2e080839425d10a274e835d261a91b5303d3e3da (patch)
treeb19a44b73bedac145a60acd7df66b35b43f8e53e /src/lib/libcrypto/bio/bio_lib.c
parentf12d5e8e579bed92a70d9d81ec8e318483c982a7 (diff)
downloadopenbsd-2e080839425d10a274e835d261a91b5303d3e3da.tar.gz
openbsd-2e080839425d10a274e835d261a91b5303d3e3da.tar.bz2
openbsd-2e080839425d10a274e835d261a91b5303d3e3da.zip
some KNF cleanup following the script
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
-rw-r--r--src/lib/libcrypto/bio/bio_lib.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c
index c226d943af..485374931b 100644
--- a/src/lib/libcrypto/bio/bio_lib.c
+++ b/src/lib/libcrypto/bio/bio_lib.c
@@ -63,8 +63,8 @@
63#include <openssl/bio.h> 63#include <openssl/bio.h>
64#include <openssl/stack.h> 64#include <openssl/stack.h>
65 65
66BIO 66BIO *
67*BIO_new(BIO_METHOD *method) 67BIO_new(BIO_METHOD *method)
68{ 68{
69 BIO *ret = NULL; 69 BIO *ret = NULL;
70 70
@@ -352,8 +352,8 @@ BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg)
352 return (BIO_ctrl(b, cmd, larg, (char *)&i)); 352 return (BIO_ctrl(b, cmd, larg, (char *)&i));
353} 353}
354 354
355char 355char *
356*BIO_ptr_ctrl(BIO *b, int cmd, long larg) 356BIO_ptr_ctrl(BIO *b, int cmd, long larg)
357{ 357{
358 char *p = NULL; 358 char *p = NULL;
359 359
@@ -435,8 +435,8 @@ BIO_ctrl_wpending(BIO *bio)
435 435
436 436
437/* put the 'bio' on the end of b's list of operators */ 437/* put the 'bio' on the end of b's list of operators */
438BIO 438BIO *
439*BIO_push(BIO *b, BIO *bio) 439BIO_push(BIO *b, BIO *bio)
440{ 440{
441 BIO *lb; 441 BIO *lb;
442 442
@@ -454,8 +454,8 @@ BIO
454} 454}
455 455
456/* Remove the first and return the rest */ 456/* Remove the first and return the rest */
457BIO 457BIO *
458*BIO_pop(BIO *b) 458BIO_pop(BIO *b)
459{ 459{
460 BIO *ret; 460 BIO *ret;
461 461
@@ -475,8 +475,8 @@ BIO
475 return (ret); 475 return (ret);
476} 476}
477 477
478BIO 478BIO *
479*BIO_get_retry_BIO(BIO *bio, int *reason) 479BIO_get_retry_BIO(BIO *bio, int *reason)
480{ 480{
481 BIO *b, *last; 481 BIO *b, *last;
482 482
@@ -500,8 +500,8 @@ BIO_get_retry_reason(BIO *bio)
500 return (bio->retry_reason); 500 return (bio->retry_reason);
501} 501}
502 502
503BIO 503BIO *
504*BIO_find_type(BIO *bio, int type) 504BIO_find_type(BIO *bio, int type)
505{ 505{
506 int mt, mask; 506 int mt, mask;
507 507
@@ -522,8 +522,8 @@ BIO
522 return (NULL); 522 return (NULL);
523} 523}
524 524
525BIO 525BIO *
526*BIO_next(BIO *b) 526BIO_next(BIO *b)
527{ 527{
528 if (!b) 528 if (!b)
529 return NULL; 529 return NULL;
@@ -547,8 +547,8 @@ BIO_free_all(BIO *bio)
547 } 547 }
548} 548}
549 549
550BIO 550BIO *
551*BIO_dup_chain(BIO *in) 551BIO_dup_chain(BIO *in)
552{ 552{
553 BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; 553 BIO *ret = NULL, *eoc = NULL, *bio, *new_bio;
554 554
@@ -611,8 +611,8 @@ BIO_set_ex_data(BIO *bio, int idx, void *data)
611 return (CRYPTO_set_ex_data(&(bio->ex_data), idx, data)); 611 return (CRYPTO_set_ex_data(&(bio->ex_data), idx, data));
612} 612}
613 613
614void 614void *
615*BIO_get_ex_data(BIO *bio, int idx) 615BIO_get_ex_data(BIO *bio, int idx)
616{ 616{
617 return (CRYPTO_get_ex_data(&(bio->ex_data), idx)); 617 return (CRYPTO_get_ex_data(&(bio->ex_data), idx));
618} 618}