Commit Graph

5277 Commits

Author SHA1 Message Date
mjl 62318ed7e2 Bring s/key closer to RFC2289 conformance by pulling in changes
from OpenBSD to make use of different hash functions possible.
Also factored out some common code pieces, ANSIfied and
corrected SHA1 hash to make the result match up with the
regression examples in above RFC.
2000-07-06 22:30:18 +00:00
kleink b5b9011dbf Note that localtime_r() does not imply tzset(); inspired by a conversation
with Hal Murray in the trail of PR lib/10282.
2000-07-06 16:19:15 +00:00
ad 2a9ac348ae Oops - declare static functions. 2000-07-06 13:39:47 +00:00
ad 240f3596cb Use ':' as group prefix; suggested by hubertf. 2000-07-06 13:09:46 +00:00
hubertf 7570e9053d Improve description for tm_year and some other fields.
May prevent PRs like 10521 in the future.
2000-07-06 12:44:31 +00:00
ad 8a82d4a86e Bump libutil minor (pw_getconf()). 2000-07-06 11:26:23 +00:00
ad ac9fc8f4e6 Handle non-DES encrypted passwords; currently only MD5. 2000-07-06 11:13:49 +00:00
ad 49de2aa1ce Add __md5crypt(), for internal use by libcrypt. This behaves for the most
part like crypt() but uses a proprietry encryption scheme that utilises MD5.
From FreeBSD via OpenBSD.
2000-07-06 11:12:42 +00:00
ad 7b3efebed5 Documentation for pw_getconf(). From OpenBSD. 2000-07-06 11:08:19 +00:00
ad 82be161e7c - Add pw_getconf(). This is used to read configuration information from
passwd.conf. From OpenBSD.
- ANSIfy.
2000-07-06 11:06:12 +00:00
christos 473ea2c4e7 add explicit casts to avoid parameter conversion warnings. 2000-07-06 03:14:05 +00:00
christos 6b283a58bd avoid losing precision warnings 2000-07-06 03:13:22 +00:00
christos deb154d2bc add __RPC_GETXID macro
don't const castway __rpc_getconf and __rpc_getconfig. It might try to
write const strings
fix non-portable casts
remove duplicated prototypes
cast things to proper types
remove extraneous casts to NULL
fix variable cast mismatches
remove register var declarations
2000-07-06 03:10:34 +00:00
christos b056680b9b remove register
adjust types to match functions
elide non-portable casts
cast to proper types
2000-07-06 03:06:45 +00:00
christos 6a3d07cc2d get prototypes from rpc/nettype.h
avoid non-portable casts
add explicit casts
2000-07-06 03:05:20 +00:00
christos 3ee90709fb elide non-portable casts 2000-07-06 03:03:59 +00:00
christos ea5394abfa remove unnecessary casts to NULL 2000-07-06 03:03:30 +00:00
christos ae40c8edb2 remove register
elide non-portable casts
2000-07-06 03:02:22 +00:00
christos 1c3b369611 add explicit casts
elide non-portable casts
2000-07-06 03:01:32 +00:00
christos 373996b8e8 add constcond lint directive 2000-07-06 03:00:39 +00:00
christos bc44f19756 add explicit casts
elide non-portable casts
2000-07-06 03:00:16 +00:00
christos e464ac9461 add explicit casts 2000-07-06 02:59:47 +00:00
christos 43264d6a9a add argsused lint directives
add explicit casts
elide non-portable casts
2000-07-06 02:59:20 +00:00
christos e9001c0972 elide non portable casts
add lint const castaway directives
2000-07-06 02:58:07 +00:00
christos db34dc9efd de-register
use the proper types for vars
2000-07-06 02:57:23 +00:00
christos b5835eb63b remove noop checks 2000-07-06 02:56:55 +00:00
christos 47197be00f elide non-portable casts 2000-07-06 02:56:25 +00:00
christos a0d18445ab avoid non portable casts 2000-07-06 02:55:45 +00:00
christos 970724237c avoid non-portable casts 2000-07-06 02:54:55 +00:00
christos 7bc5ea812e - remove unused vars
- fix non-portable casts
2000-07-06 02:54:12 +00:00
christos b0c8c0de7d - avoid non portable casts
- cast arguments to avoid promotion warnings
2000-07-06 02:53:12 +00:00
christos 5570317afb add CONSTCOND where appropriate 2000-07-06 02:52:07 +00:00
christos f277b22775 fix non-portable shift. 2000-07-06 02:50:35 +00:00
christos 3974a782d3 explicitly cast to u_char 2000-07-06 02:50:22 +00:00
christos a74cfaaa6e mark the prototype mismatch as linted. We cannot do better because of the
widening ansi rules.
2000-07-06 02:49:41 +00:00
christos 2b3ae9ea3e remove extra semi's 2000-07-06 02:48:41 +00:00
he 87788b7d50 No longer abuse the "minor" number in the shlib_version file to
optionally contain the "teeny" version number.  Instead, introduce
a separate optional "teeny" variable.  This corresponds to the change
in revision 1.171 of share/bsd.lib.mk.
2000-07-05 18:56:20 +00:00
cyber 6dbf0c76e9 fix typo: rmd160l.c -> rmd160hl.c 2000-07-05 16:10:36 +00:00
veego 1b45532bcc Bump the minor version, because RIPEMD-160 was added to libc. 2000-07-05 16:08:28 +00:00
msaitoh f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
veego 94a5610765 Add CPPFLAGS+= -DNO_{RSA,IDEA,RC5}. 2000-07-05 14:00:38 +00:00
ad a3c934e555 - Need to #include <sys/endian.h>.
- ANSIfy.
2000-07-05 13:51:32 +00:00
ad 2e5803c734 - No need to include <sys/uio.h>.
- ANSIfy.
2000-07-05 13:49:25 +00:00
he c8607653d2 Add text that says that an interpreter cannot itself be an interpreter
file.  Inspired by Solaris manpage and the current NetBSD implementation
as observed with the scotty package and attempts to use the earlier shell
wrapper as an interpreter.
2000-07-05 12:42:09 +00:00
itojun 920101cf2e return EAI_NODATA, instead of EAI_NONAME, on name resolution errors.
EAI_NONAME does not make sense in these situations.  from kame.
From: enami@netbsd.org
2000-07-05 12:41:16 +00:00
kleink 6a431c53e5 Lexicographically sort in previous. 2000-07-05 12:03:50 +00:00
ad fce98185a9 - __RCSID() police.
- ANSIfy.
- Miscellaneous style changes.
- Shutup lint(1) in one or two cases.
2000-07-05 11:46:40 +00:00
ad 90517b417b Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
MD5 and SHA1 stuff.
2000-07-05 11:44:01 +00:00
ad e402955a88 Insert newline after RCS ID line. 2000-07-05 11:35:36 +00:00
enami f089d431f3 s/Xt/Xr/ 2000-07-05 05:25:28 +00:00