summaryrefslogtreecommitdiff
path: root/src/sbearssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbearssl')
-rw-r--r--src/sbearssl/sbearssl_send_environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbearssl/sbearssl_send_environment.c b/src/sbearssl/sbearssl_send_environment.c
index a998ee9..22c2dbb 100644
--- a/src/sbearssl/sbearssl_send_environment.c
+++ b/src/sbearssl/sbearssl_send_environment.c
@@ -137,5 +137,5 @@ int sbearssl_send_environment (br_ssl_engine_context *ctx, sbearssl_handshake_cb
}
if (buffer_put(&b, "", 1) < 0) return 0 ;
- return buffer_putflush(&b, "\0", 2) >= 0 ;
+ return buffer_putflush(&b, "", 1) >= 0 ;
}