fix: fix preencrypted ota failed with pytest server and partial http enabled

This commit is contained in:
nilesh.kale
2023-09-06 12:35:47 +05:30
parent 0feef5f2f3
commit 0e214b776b
3 changed files with 21 additions and 2 deletions

View File

@@ -62,6 +62,7 @@ typedef struct {
#if CONFIG_ESP_HTTPS_OTA_DECRYPT_CB
decrypt_cb_t decrypt_cb; /*!< Callback for external decryption layer */
void *decrypt_user_ctx; /*!< User context for external decryption layer */
uint16_t enc_img_header_size; /*!< Header size of pre-encrypted ota image header */
#endif
} esp_https_ota_config_t;