소스 검색

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);*/