millert
c6a2075d6d
More typos.
27 years ago
millert
546d5c8f13
Allow passing of a NULL digest to RMD160Final(3).
27 years ago
millert
16e8f869b3
mdX(3)-like interface to RIPEMD-160 hash function. Code by
Antoon Bosselaers and massaged by me to fit the mdX(3) API.
27 years ago
millert
1f3954a41c
Fix typo
27 years ago
millert
180624d3fc
Add a missing const
27 years ago
millert
0818e080d8
Add SHA1End, SHA1File, SHA1Data helper functions like in md5(3).
27 years ago
provos
4515cc9a0a
mention usage of SHA1Final with null pointer
27 years ago
millert
8822f49aa7
Minor style points.
27 years ago
millert
616645b01b
Todd kant spel.
27 years ago
millert
ec6f7d0de6
Install sha1(3) and links.
27 years ago
millert
faefdad350
#include <sha1.h> not #include "sha1.h"
27 years ago
millert
b1dcc2f442
Man page for SHA1*
27 years ago
millert
a607d546f9
A -> An
27 years ago
millert
0c044b6e92
Different sha1 functions (taken from netinet's if_sha1.c) that
are more consistent with md4/md5 functions.
27 years ago
millert
5daeee95dc
Clean up some -Wall flowers.
27 years ago
millert
75a2acb9f8
Clarify strncat(3) count param.
27 years ago
millert
81c581b9d6
Use MALLOC_EXTRA_SANITY consistently (EXTRA_SANITY was used in many places)
sizeof *pt -> sizeof *px (point to same type of struct but looked wrong).
27 years ago
provos
09f9399c57
fix that repeating passwords yield same hash + increment minor
27 years ago
millert
dbf726cb6e
Include <stdlib.h> for malloc() proto.
27 years ago
deraadt
e385c811bb
surely not long!
27 years ago
millert
b46ec22f4b
Use O_EXLOCK option of open(2) to open /etc/ptmp with an exclusive
lock. This fixes a DOS bug where a user could run passwd(1) and
send it a SIGKILL, thus leaving /etc/ptmp in place.
27 years ago
tholo
9d77d4a158
Make sure we don't get stuck in a loop when trying to clean up stdio
27 years ago
deraadt
ca5679152b
add ELOOP support; shigio@wafu.netgate.net
27 years ago
deraadt
f7fc307897
typecastorama
27 years ago
niklas
58f7db1ec4
Add support to handle password files in directories other than /etc
27 years ago
millert
6d6a774a5e
First cut at documentinf tsearch(3) -- needs work.
27 years ago
millert
f1026de800
Fix decl for tfind(3)
27 years ago
deraadt
fb6d1cf25b
damn, no tsearch(3)
27 years ago
deraadt
fbf0194420
PD tsearch as reqd by xpg; by esr
27 years ago
deraadt
b723fb2a30
whitespace support; some netbsd pr..
27 years ago
deraadt
0a3b0b9a57
incorrect description; bgrayson@ece.utexas.edu
27 years ago
tholo
85cb5df3cc
Make it possible to not output warnings (errors causing aborts are always
output).
27 years ago
tholo
a9dc5ef894
Add x/X option to behave like X11 xmalloc; from FreeBSD
Reduce diffs wrt. FreeBSD some
27 years ago
deraadt
845506bb3f
for i in `find . -name \*.[123456789] -exec grep '^.Dd ' {} /dev/null \; | \
grep '"' | cut -d':' -f1`; do
sed -e '/^.Dd /s/"//g' -e '/^.Dd /s/\(^.Dd [A-Za-z]*\) \(.*\)$/\1, \2/' <$i >x
cat x > $i
done
27 years ago
tholo
d945fdda5b
Be more careful about possible type promotion
28 years ago
tholo
4c365544ad
Be more careful with mixing types
28 years ago
angelos
b0d3dad03b
Typo and return value for arc4random().
28 years ago
millert
991fb15882
COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as
the name of the strip(1) to use and other times used as
the flag to send install(1) when stripping (or not).
COPY doesn't have this problem (yet) but was poorly named.
28 years ago
deraadt
a9972d9b69
typo
28 years ago
provos
234882677d
documentation for arc4random. this is out of memory, might need
some corrections.
28 years ago
provos
ed82a932ef
give only default values when asked for.
28 years ago
tholo
bde02a1ec3
Check for overflow; from FreeBSD
28 years ago
deraadt
78d1ef8fab
an -> a; soil@quick.net
28 years ago
deraadt
e701f6c1db
salt is an int32_t
28 years ago
deraadt
5ca625a603
delete the unaligned code
28 years ago
downsj
8689f9cd28
Err, umm.
28 years ago
downsj
743ff0ad8a
Make this code sane.
28 years ago
provos
fae2adc26f
yet another random() converted to arc4random()
28 years ago
rahnds
c47e65ed50
Ok here is the mvme88k userland, minus a few important pieces.
as, ld change need to be merged. It is known that shared libraries and C++
do not work.
If anyone wants to step forward and take over the mvme88k port please do.
It was dumped on me when the original developer, Nivas, left his previous
job and started a new one.
I am trying to get the port in a shape that someone could take over.
28 years ago
deraadt
f9cb74cf07
some cleanup
28 years ago