|
@@ -4,6 +4,8 @@
|
|
|
* Created on: 08.11.2017
|
|
|
* Author: balbekova
|
|
|
*/
|
|
|
+#include "common_config.h"
|
|
|
+
|
|
|
#ifdef SSL_SERVER_ENABLE
|
|
|
|
|
|
#include "lwip/opt.h"
|
|
@@ -18,7 +20,6 @@
|
|
|
#include "bt6703_fs/fsdata.c"
|
|
|
#include "settings_api.h"
|
|
|
#include "netconf.h"
|
|
|
-#include "common_config.h"
|
|
|
#include "testing.h"
|
|
|
#include "rtc.h"
|
|
|
#include "rng.h"
|
|
@@ -1622,7 +1623,7 @@ int HTTP_ConfirmWebPwd(char *bufIn, char *bufOut, uint16_t lenBufIn, uint16_t *l
|
|
|
memset(name_login, 0, 50);
|
|
|
tempStr[0] = '0';
|
|
|
/* Get first 50 bytes of string */
|
|
|
- strncpy(tempStr, bufIn, 49);
|
|
|
+ strncat(tempStr, bufIn, 49);
|
|
|
|
|
|
/* Add " " to the string in order GetParamValue() can be able to parse the param */
|
|
|
strcat(tempStr, " ");
|