Id also point out that having subtle side-effects within function call parameters might be something to be avoided. Had
encr_aes->nonce++ been a separate expression it might have been less likely to be forgotten when refactoring.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds