Skip to content

Commit

Permalink
session server tls REFACTOR code review
Browse files Browse the repository at this point in the history
  • Loading branch information
roman committed Oct 12, 2023
1 parent 94b6e85 commit 1da98ef
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/session_server_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 1da98ef

Please sign in to comment.