On Thu, May 26, 2016 at 07:29:29PM +0000, Conrad E. Meyer wrote: > Author: cem > Date: Thu May 26 19:29:29 2016 > New Revision: 300773 > URL: https://svnweb.freebsd.org/changeset/base/300773 > > Log: > crypto routines: Hint minimum buffer sizes to the compiler > > Use the C99 'static' keyword to hint to the compiler IVs and output digest > sizes. The keyword informs the compiler of the minimum valid size for a > given > array. Obviously not every pointer can be validated (i.e., the compiler can > produce false negative but not false positive reports). > > No functional change. No ABI change. > >
This change breaks -CURRENT. --- lib/libmd__L --- md5hl.c:48:10: warning: implicit declaration of function '_libmd_MD5FileChunk' is invalid in C99 [-Wimplicit-function-declaration] return (MD5FileChunk(filename, buf, 0, 0)); ^ /usr/src/lib/libmd/md5.h:32:22: note: expanded from macro 'MD5FileChunk' #define MD5FileChunk _libmd_MD5FileChunk ^ Glen
signature.asc
Description: PGP signature