diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_bio.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_bio.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/lib/libcrypto/bio/bss_bio.c b/src/lib/libcrypto/bio/bss_bio.c index d31e59872e..1a17cdf275 100644 --- a/src/lib/libcrypto/bio/bss_bio.c +++ b/src/lib/libcrypto/bio/bss_bio.c | |||
| @@ -94,16 +94,14 @@ static int bio_make_pair(BIO *bio1, BIO *bio2); | |||
| 94 | static void bio_destroy_pair(BIO *bio); | 94 | static void bio_destroy_pair(BIO *bio); |
| 95 | 95 | ||
| 96 | static BIO_METHOD methods_biop = { | 96 | static BIO_METHOD methods_biop = { |
| 97 | BIO_TYPE_BIO, | 97 | .type = BIO_TYPE_BIO, |
| 98 | "BIO pair", | 98 | .name = "BIO pair", |
| 99 | bio_write, | 99 | .bwrite = bio_write, |
| 100 | bio_read, | 100 | .bread = bio_read, |
| 101 | bio_puts, | 101 | .bputs = bio_puts, |
| 102 | NULL /* no bio_gets */, | 102 | .ctrl = bio_ctrl, |
| 103 | bio_ctrl, | 103 | .create = bio_new, |
| 104 | bio_new, | 104 | .destroy = bio_free |
| 105 | bio_free, | ||
| 106 | NULL /* no bio_callback_ctrl */ | ||
| 107 | }; | 105 | }; |
| 108 | 106 | ||
| 109 | BIO_METHOD * | 107 | BIO_METHOD * |
