Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rtsp_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,8 @@ bool rtspcl_auth_setup(struct rtspcl_s *p) {
if (!p) return false;

uint8_t secret[SECRET_KEY_SIZE], * pub_key = malloc(PUBLIC_KEY_SIZE + 1);
uint8_t* rsp;
int rsp_len;
uint8_t* rsp = NULL; // Initialize to NULL - may not be set if no response body
int rsp_len = 0;

// create a verification public key
RAND_bytes(secret, SECRET_KEY_SIZE);
Expand Down