aboutsummaryrefslogtreecommitdiff
path: root/crypto/bio/bss_mem.c
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2017-12-18 07:04:48 +1000
committerPauli <paul.dale@oracle.com>2017-12-18 07:04:48 +1000
commitb4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd (patch)
treefda5a73b22f6001cf68349687c59da6711b9b278 /crypto/bio/bss_mem.c
parentfce78bd4ede74d4fa7bd1c8195d8f7bc9403bd4c (diff)
downloadopenssl-b4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd.zip
openssl-b4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd.tar.gz
openssl-b4ff66223b53ad9d2f5b4efd75bf8d52cc59c8dd.tar.bz2
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_mem.c')
-rw-r--r--crypto/bio/bss_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bss_mem.c b/crypto/bio/bss_mem.c
index a50d416..7678a1d 100644
--- a/crypto/bio/bss_mem.c
+++ b/crypto/bio/bss_mem.c
@@ -37,7 +37,7 @@ static const BIO_METHOD mem_method = {
mem_ctrl,
mem_new,
mem_free,
- NULL,
+ NULL, /* mem_callback_ctrl */
};
static const BIO_METHOD secmem_method = {
@@ -54,7 +54,7 @@ static const BIO_METHOD secmem_method = {
mem_ctrl,
secmem_new,
mem_free,
- NULL,
+ NULL, /* mem_callback_ctrl */
};
/* BIO memory stores buffer and read pointer */