浏览代码

fix get certreq

balbekova 7 年之前
父节点
当前提交
0540f305ba
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/HTTP_Server/http_server.c

+ 1 - 0
modules/HTTP_Server/http_server.c

@@ -3486,6 +3486,7 @@ char* AuthenticatedTrueRoutine(uint16_t* sendLen)
     {
     	// Send HTTP header first (Safari needs it)
 
+    	memset(sendBuf, 0, sizeof(sendBuf));
 		  strcpy(sendBuf, HTTP_200_OK);
 		  /**sendLen = strlen(sendBuf);
 		  SSL_WriteRoutine(&ssl, sendBuf, *sendLen);*/