summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/p_lib.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2018-05-09 08:42:02 +0000
committermpi <mpi@openbsd.org>2018-05-09 08:42:02 +0000
commit9e62193759664cae5f8b191cae88100fa3897ec9 (patch)
tree149e073d9c4ce0ec4f1fdfd5bb1573e6cb544dde /lib/libcrypto/evp/p_lib.c
parentAnother check for NULL window if looking for index. (diff)
downloadwireguard-openbsd-9e62193759664cae5f8b191cae88100fa3897ec9.tar.xz
wireguard-openbsd-9e62193759664cae5f8b191cae88100fa3897ec9.zip
Mark `f_ops' as immutable.
The only place where it was modified after initialization is a corner case where the vnode of an open file is substitued by another one. Sine the type of the file doesn't change, there's no need to overwrite `f_ops'. While here proctect file counters with `f_mtx'. ok bluhm@, visa@
Diffstat (limited to 'lib/libcrypto/evp/p_lib.c')
0 files changed, 0 insertions, 0 deletions