diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-12-17 22:04:48 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-12-17 22:04:48 +0100 |
commit | b4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd (patch) | |
tree | fda5a73b22f6001cf68349687c59da6711b9b278 /crypto/bio/bss_dgram.c | |
parent | Fix invalid function type casts. (diff) | |
download | openssl-b4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd.tar.xz openssl-b4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd.zip |
Add comments to NULL func ptrs in bio_method_st
This commit adds comments to bio_method_st definitions where the
function pointers are defined as NULL. Most of the structs have comments
but some where missing and not all consitent.
CLA: trivial
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4881)
Diffstat (limited to 'crypto/bio/bss_dgram.c')
-rw-r--r-- | crypto/bio/bss_dgram.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index aad8c8511d..90fe3c8efd 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -73,11 +73,11 @@ static const BIO_METHOD methods_dgramp = { bread_conv, dgram_read, dgram_puts, - NULL, /* dgram_gets, */ + NULL, /* dgram_gets, */ dgram_ctrl, dgram_new, dgram_free, - NULL, + NULL, /* dgram_callback_ctrl */ }; # ifndef OPENSSL_NO_SCTP @@ -91,11 +91,11 @@ static const BIO_METHOD methods_dgramp_sctp = { bread_conv, dgram_sctp_read, dgram_sctp_puts, - NULL, /* dgram_gets, */ + NULL, /* dgram_gets, */ dgram_sctp_ctrl, dgram_sctp_new, dgram_sctp_free, - NULL, + NULL, /* dgram_callback_ctrl */ }; # endif |