X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fconnection.c;h=0a69f78b228e1b4e64af911bdd4fe8ace64f1fbf;hb=ceebf9e917885f33396b93504943d7b8e63e782b;hp=f15f4c15c2380bf19bf8e46ca1b1a297c3fdee73;hpb=dc3567be34b6438f6cb29490fa404dce5dd6efc3;p=tlsproxy%2Ftlsproxy.git diff --git a/src/connection.c b/src/connection.c index f15f4c1..0a69f78 100644 --- a/src/connection.c +++ b/src/connection.c @@ -202,7 +202,7 @@ void handle_connection(int client_socket) { char path[1024]; FILE *file = NULL; - if (-2 == server_certificate_path(&file, host, path, sizeof(path))) { + if (-2 == server_certificate_file(&file, host, path, sizeof(path))) { /* We've established a connection, tell the client. */ fprintf(client_fd, "HTTP/1.0 200 Connection established\r\n"); fprintf(client_fd, "\r\n"); @@ -218,7 +218,7 @@ void handle_connection(int client_socket) { goto out; } - /* server_certificate_path() may have opened the file, close it. */ + /* server_certificate_file() may have opened the file, close it. */ if (NULL != file) { fclose(file); }