diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-06-29 18:49:06 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-06-29 18:49:06 -0700 |
| commit | 16737b7dc4db61b72000482eea508f181c275722 (patch) | |
| tree | a996a7a25ed1c53ab2f093c47570557ca4f47459 /src/supplemental/tls/tls_common.h | |
| parent | 548037bf5264a8a3bbb2139665bb604014568643 (diff) | |
| download | nng-16737b7dc4db61b72000482eea508f181c275722.tar.gz nng-16737b7dc4db61b72000482eea508f181c275722.tar.bz2 nng-16737b7dc4db61b72000482eea508f181c275722.zip | |
TLS: Configuration does not need to keep a reference to the engine.
This may resolve a surprising NULL pointer dereference.
Diffstat (limited to 'src/supplemental/tls/tls_common.h')
| -rw-r--r-- | src/supplemental/tls/tls_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/supplemental/tls/tls_common.h b/src/supplemental/tls/tls_common.h index 14bb0cf7..3d29583b 100644 --- a/src/supplemental/tls/tls_common.h +++ b/src/supplemental/tls/tls_common.h @@ -41,7 +41,6 @@ struct nng_tls_config { nng_tls_engine_config_ops ops; - const nng_tls_engine *engine; // store this so we can verify nni_mtx lock; int ref; bool busy; |
