File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
src/plugins/input/tcp/src/tls Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -75,28 +75,6 @@ class SslCtx : public std::unique_ptr<SSL_CTX, dealloc::SslCtx> {
7575 }
7676 }
7777
78- /* *
79- * @brief Sets path to folder with trusted certificates.
80- * @param d Path to existing directory with certificates in the PEM format.
81- * @throws On failure.
82- */
83- void load_verify_dir (const char *d) {
84- if (SSL_CTX_load_verify_dir (get (), d) <= 0 ) {
85- throw_ssl_err (" Failed to load verify directory." );
86- }
87- }
88-
89- /* *
90- * @brief Sets path to trusted certificate file.
91- * @param f Path to file with certificate in the PEM format.
92- * @throws On failure.
93- */
94- void load_verify_file (const char *f) {
95- if (SSL_CTX_load_verify_file (get (), f) <= 0 ) {
96- throw_ssl_err (" Failed to load verify file." );
97- }
98- }
99-
10078 /* *
10179 * @brief Set the minimum allowed TLS version.
10280 * @param version Minimum allowed tls version. `TLS1_2_VERSION` and higher is recommended.
You can’t perform that action at this time.
0 commit comments