diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-08-10 21:10:23 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-08-10 21:12:52 +0200 |
| commit | e3f7ecc6bdf7bbd1ae7ec10c387e15743842db90 (patch) | |
| tree | bbe2e05ec16f4214e02dd9e0904af97998955c63 /src/ssl_openssl.cc | |
| parent | 725cb48b8909588b41c86c680e40b0a7df13e384 (diff) | |
Fix some issues and improvements found by cppcheck
Diffstat (limited to 'src/ssl_openssl.cc')
| -rw-r--r-- | src/ssl_openssl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl_openssl.cc b/src/ssl_openssl.cc index 14c3162..046687b 100644 --- a/src/ssl_openssl.cc +++ b/src/ssl_openssl.cc @@ -137,7 +137,7 @@ public: SSLImpl(Logger* logger, uint16_t flags) : logger_(logger), flags_(flags), bio_meth_(BIO_meth_new(99 | BIO_TYPE_SOURCE_SINK, "SSLImpl")), - ctx_(nullptr), ssl_(nullptr), + ctx_(nullptr), ssl_(nullptr), state_(HANDSHAKE), bio_(nullptr), rbuf_(nullptr), wbuf_(nullptr) { BIO_meth_set_write(bio_meth_, bio_write); BIO_meth_set_read(bio_meth_, bio_read); |
