From 1da98ef40ed05b40a3f7e03b60b563acf95455fd Mon Sep 17 00:00:00 2001 From: roman Date: Thu, 12 Oct 2023 14:45:30 +0200 Subject: [PATCH] session server tls REFACTOR code review --- src/session_server_tls.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/session_server_tls.c b/src/session_server_tls.c index 347860a2..8237e3f2 100644 --- a/src/session_server_tls.c +++ b/src/session_server_tls.c @@ -130,23 +130,6 @@ base64der_to_cert(const char *in) return out; } -/* return NULL - either errno or SSL error */ -// static X509 * -// pem_to_cert(const char *path) -// { -// FILE *fp; -// X509 *out; - -// fp = fopen(path, "r"); -// if (!fp) { -// return NULL; -// } - -// out = PEM_read_X509(fp, NULL, NULL, NULL); -// fclose(fp); -// return out; -// } - static EVP_PKEY * base64der_to_privatekey(const char *in, const char *key_str) {