Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always include Content-Transfer-Encoding #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/est/est_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1422,6 +1422,7 @@ static int est_client_build_enroll_header (EST_CTX *ctx, char *hdr, int pkcs10_l
"Host: %s:%d\r\n"
"Accept: */*\r\n"
"Content-Type: application/pkcs10\r\n"
"Content-Transfer-Encoding: base64\r\n"
"Content-Length: %d\r\n",
EST_PATH_PREFIX,
(ctx->uri_path_segment?"/":""),
Expand Down Expand Up @@ -1463,6 +1464,7 @@ static int est_client_build_reenroll_header (EST_CTX *ctx, char *hdr, int pkcs10
"Host: %s:%d\r\n"
"Accept: */*\r\n"
"Content-Type: application/pkcs10\r\n"
"Content-Transfer-Encoding: base64\r\n"
"Content-Length: %d\r\n",
EST_PATH_PREFIX,
(ctx->uri_path_segment?"/":""),
Expand Down Expand Up @@ -1504,6 +1506,7 @@ static int est_client_build_server_keygen_header (EST_CTX *ctx, char *hdr, int p
"Host: %s:%d\r\n"
"Accept: */*\r\n"
"Content-Type: application/pkcs10\r\n"
"Content-Transfer-Encoding: base64\r\n"
"Content-Length: %d\r\n",
EST_PATH_PREFIX,
(ctx->uri_path_segment?"/":""),
Expand Down