Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Sun May 22 11:34:17 UTC 2022

Modified Files:
        src/share/man/man9: opencrypto.9
        src/sys/opencrypto: crypto.c

Log Message:
opencrypto: Assert num>0 in crypto_getreq, num=1 in crypto_kgetreq.

- For crypto_getreq this makes downstream reasoning easier: on
  success, crp_desc is guaranteed to be nonnull.

- For crypto_kgetreq, this was already assumed, just silently
  ignored and not checked by anything.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man9/opencrypto.9
cvs rdiff -u -r1.121 -r1.122 src/sys/opencrypto/crypto.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index