- Timestamp:
- Mar 7, 2022, 7:11:41 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_calls.c
r550 r575 933 933 } 934 934 935 int aud_pipe (const char * file, int line, int * modus)935 int aud_pipe (const char * file, int line, int modus[2]) 936 936 { 937 937 int error; -
trunk/src/sh_checksum.c
r450 r575 408 408 } 409 409 410 void SHA256_Final(sha2_byte digest[ ], SHA256_CTX* context)410 void SHA256_Final(sha2_byte digest[SHA256_DIGEST_LENGTH], SHA256_CTX* context) 411 411 { 412 412 sha2_word32 *d = (sha2_word32*)digest; … … 482 482 483 483 /* If buffer is of length KEYBUF_SIZE, the digest will fit */ 484 char *SHA256_End(SHA256_CTX* context, char buffer[ ])484 char *SHA256_End(SHA256_CTX* context, char buffer[KEYBUF_SIZE]) 485 485 { 486 486 sha2_byte digest[SHA256_DIGEST_LENGTH]; -
trunk/src/sh_xfer_server.c
r561 r575 2407 2407 (conn->head[0]|SH_PROTO_SRP)); 2408 2408 2409 if (conn->A != NULL) SH_FREE(conn->A); conn->A = NULL; 2410 if (conn->M1 != NULL) SH_FREE(conn->M1); conn->M1 = NULL; 2409 if (conn->A != NULL) 2410 SH_FREE(conn->A); 2411 conn->A = NULL; 2412 if (conn->M1 != NULL) 2413 SH_FREE(conn->M1); 2414 conn->M1 = NULL; 2411 2415 sl_strlcpy(conn->client_entry->session_key, 2412 2416 conn->K, KEY_LEN+1); … … 2431 2435 #endif 2432 2436 2433 if (conn->K != NULL) SH_FREE(conn->K); conn->K = NULL; 2437 if (conn->K != NULL) 2438 SH_FREE(conn->K); 2439 conn->K = NULL; 2434 2440 2435 2441 conn->client_entry->last_connect = time (NULL);
Note:
See TracChangeset
for help on using the changeset viewer.