diff options
Diffstat (limited to 'lib/libcrypto/bio/bss_acpt.c')
-rw-r--r-- | lib/libcrypto/bio/bss_acpt.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/libcrypto/bio/bss_acpt.c b/lib/libcrypto/bio/bss_acpt.c index 916af3cb20e..943d3d9d961 100644 --- a/lib/libcrypto/bio/bss_acpt.c +++ b/lib/libcrypto/bio/bss_acpt.c @@ -98,16 +98,14 @@ static void BIO_ACCEPT_free(BIO_ACCEPT *a); #define ACPT_S_OK 3 static BIO_METHOD methods_acceptp = { - BIO_TYPE_ACCEPT, - "socket accept", - acpt_write, - acpt_read, - acpt_puts, - NULL, /* connect_gets, */ - acpt_ctrl, - acpt_new, - acpt_free, - NULL, + .type = BIO_TYPE_ACCEPT, + .name = "socket accept", + .bwrite = acpt_write, + .bread = acpt_read, + .bputs = acpt_puts, + .ctrl = acpt_ctrl, + .create = acpt_new, + .destroy = acpt_free }; BIO_METHOD * |