summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_sock.c
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-12-17 22:04:48 +0100
committerPauli <paul.dale@oracle.com>2017-12-17 22:04:48 +0100
commitb4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd (patch)
treefda5a73b22f6001cf68349687c59da6711b9b278 /crypto/bio/bss_sock.c
parentFix invalid function type casts. (diff)
downloadopenssl-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_sock.c')
-rw-r--r--crypto/bio/bss_sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c
index 09f127b92d..ad38453201 100644
--- a/crypto/bio/bss_sock.c
+++ b/crypto/bio/bss_sock.c
@@ -44,11 +44,11 @@ static const BIO_METHOD methods_sockp = {
bread_conv,
sock_read,
sock_puts,
- NULL, /* sock_gets, */
+ NULL, /* sock_gets, */
sock_ctrl,
sock_new,
sock_free,
- NULL,
+ NULL, /* sock_callback_ctrl */
};
const BIO_METHOD *BIO_s_socket(void)