Selaa lähdekoodia

fix get certreq

balbekova 7 vuotta sitten
vanhempi
commit
0540f305ba
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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);*/