| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reduce the number of md5c.c between the three of these from two to one
by just reaching into the kernel build for both userland builds. The
precedent for this already exists for sha2 in both cases.
_libmd_ symbol privatization bits have been moved to sys/md5.h and
md5.h remains to #include <sys/md5.h> for compatibility.
This stops exporting MD5Pad() in the process because the kernel stopped
exporting it in 502a35d60f4c. soversion is bumped accordingly.
This also renames the libc version of stack_protector.c; it previously
only worked by coincidence because .PATH ordering worked out such that
we got the right one, but this is not the case anymore. Remove the
landmine.
PR: 280784 (exp-run)
Reviewed by: allanjude, delphij
Differential Revision: https://reviews.freebsd.org/D34497
|
| |
|
|
| |
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C99 allows array function parameters to use the static keyword for their
sizes. This tells the compiler that the parameter will have at least the
specified size, and calling code will fail to compile if that guarantee is
not met. However, this syntax is not legal in C++.
This commit reverts r300824, which worked around the problem for
sys/sys/md5.h only, and introduces a new macro: min_size(). min_size(x) can
be used in headers as a static array size, but will still compile in C++
mode.
Reviewed by: cem, ed
MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D8277
Notes:
svn path=/head/; revision=307584
|
| |
|
|
|
|
|
|
|
|
| |
Reviewed by: allanjude, cem
MFC after: 2 months
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8264
Notes:
svn path=/head/; revision=307521
|
| |
|
|
|
|
|
| |
Reported by: antoine@ (x265)
Notes:
svn path=/head/; revision=300824
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Makefile.inc1): add dependency of xinstall on libmd to
avoid failure of parallel bootstrap.
(lib/libmd/*.h): do not redefine symbols if already
defined as macros (libcrypt uses the same sources internally,
redefining symbols with a prefix of its own).
Fixes build failures caused by previous change to libmd.
Reported by: ian
Pointy hat to: thomas
Notes:
svn path=/head/; revision=282736
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a prefix to all symbols in libmd to avoid incompatibilites
with same-named, but not binary compatible, symbols from libcrypto.
Also introduce Weak aliases to avoid the need to rebuild dependent
binaries and a major version bump.
PR: 199119
Differential Revision: D2216
Reviewed by: roberto, delphij
MFC after: 2 weeks
Notes:
svn path=/head/; revision=282726
|
| |
|
|
| |
Notes:
svn path=/head/; revision=20787
|
| |
|
|
|
|
|
|
|
| |
if something fails to compile now, you need to add #include <sys/types.h>
Partially Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>
Notes:
svn path=/head/; revision=19099
|
| |
|
|
|
|
|
| |
the standard libmd version of MD5 instead of it's own seperate copy..
Notes:
svn path=/head/; revision=12762
|
| |
|
|
|
|
|
|
| |
Add argument for buffer for output.
Fix manuals.
Notes:
svn path=/head/; revision=9488
|
| |
|
|
| |
Notes:
svn path=/head/; revision=4245
|
|
|
Imported libmd. This library contains MD2, MD4 and MD5.
These three boggers pop up all over the place all of the time, so I
decided we needed a library with them. In general they are used for
security checks, so if you use them you want to link them static.
Notes:
svn path=/cvs2svn/branches/ORIG/; revision=1802
|