mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
added -Wextra -Werror and fixed everything it had to mecker about
This commit is contained in:
@@ -205,7 +205,7 @@ pcp_pubkey_t *pcp_ed_verify_buffered(Pcpstream *in, pcp_pubkey_t *p) {
|
||||
|
||||
/* printf("offset: %ld, full: %ld, cur: %ld\n", offset, full_bufsize, cur_bufsize); */
|
||||
|
||||
if(offset >= 0 && offset <= PCP_BLOCK_SIZE/2) {
|
||||
if(offset > 0 && offset <= PCP_BLOCK_SIZE/2) {
|
||||
/* sig begins within the first half, adjust in_buf size */
|
||||
/* printf("1st half\n"); */
|
||||
next_bufsize = 0;
|
||||
|
||||
Reference in New Issue
Block a user