mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'contrib/github_pr_8526' into 'master'
Bugfix/protocomm correct string (GitHub PR) Closes IDFGH-6906 See merge request espressif/esp-idf!17457
This commit is contained in:
commit
0d667447df
@ -1,16 +1,8 @@
|
||||
// Copyright 2018 Espressif Systems (Shanghai) PTE LTD
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -240,7 +232,7 @@ esp_err_t protocomm_req_handle(protocomm_t *pc, const char *ep_name, uint32_t se
|
||||
/* Encrypt response to be sent back */
|
||||
uint8_t *enc_resp = (uint8_t *) malloc(plaintext_resp_len);
|
||||
if (!enc_resp) {
|
||||
ESP_LOGE(TAG, "Failed to allocate decrypt buf len %d", inlen);
|
||||
ESP_LOGE(TAG, "Failed to allocate encrypt buf len %d", plaintext_resp_len);
|
||||
free(plaintext_resp);
|
||||
return ESP_ERR_NO_MEM;
|
||||
}
|
||||
|
@ -1248,7 +1248,6 @@ components/protocomm/python/constants_pb2.py
|
||||
components/protocomm/python/sec0_pb2.py
|
||||
components/protocomm/python/sec1_pb2.py
|
||||
components/protocomm/python/session_pb2.py
|
||||
components/protocomm/src/common/protocomm.c
|
||||
components/protocomm/src/common/protocomm_priv.h
|
||||
components/protocomm/src/security/security0.c
|
||||
components/pthread/pthread_cond_var.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user