diff options
| author | deraadt <> | 2014-04-17 17:50:45 +0000 |
|---|---|---|
| committer | deraadt <> | 2014-04-17 17:50:45 +0000 |
| commit | 27f04b6fefa84dda7e41d6cbfd72696e7ea088b0 (patch) | |
| tree | b19a44b73bedac145a60acd7df66b35b43f8e53e /src/lib/libcrypto/bio/bio_lib.c | |
| parent | 3fa0871330ac761adea4bdcd71ac5392c0bb0118 (diff) | |
| download | openbsd-27f04b6fefa84dda7e41d6cbfd72696e7ea088b0.tar.gz openbsd-27f04b6fefa84dda7e41d6cbfd72696e7ea088b0.tar.bz2 openbsd-27f04b6fefa84dda7e41d6cbfd72696e7ea088b0.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.c | 36 |
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 | ||
| 66 | BIO | 66 | BIO * |
| 67 | *BIO_new(BIO_METHOD *method) | 67 | BIO_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 | ||
| 355 | char | 355 | char * |
| 356 | *BIO_ptr_ctrl(BIO *b, int cmd, long larg) | 356 | BIO_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 */ |
| 438 | BIO | 438 | BIO * |
| 439 | *BIO_push(BIO *b, BIO *bio) | 439 | BIO_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 */ |
| 457 | BIO | 457 | BIO * |
| 458 | *BIO_pop(BIO *b) | 458 | BIO_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 | ||
| 478 | BIO | 478 | BIO * |
| 479 | *BIO_get_retry_BIO(BIO *bio, int *reason) | 479 | BIO_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 | ||
| 503 | BIO | 503 | BIO * |
| 504 | *BIO_find_type(BIO *bio, int type) | 504 | BIO_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 | ||
| 525 | BIO | 525 | BIO * |
| 526 | *BIO_next(BIO *b) | 526 | BIO_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 | ||
| 550 | BIO | 550 | BIO * |
| 551 | *BIO_dup_chain(BIO *in) | 551 | BIO_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 | ||
| 614 | void | 614 | void * |
| 615 | *BIO_get_ex_data(BIO *bio, int idx) | 615 | BIO_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 | } |
