aboutsummaryrefslogtreecommitdiffstats
path: root/apps/passwd.c
Commit message (Collapse)AuthorAgeFilesLines
* Really add the EVP and all of the DES changes.Ben Laurie2001-07-301-12/+11
|
* Use apps_shutdown() in all applications, in case someone decides notRichard Levitte2001-06-231-0/+1
| | | | | | | to go the monolith way (does anyone do that these days?). NOTE: a few applications are missing in this commit. I've a few more changes in them that I haven't tested yet.
* Change all calls to low level digest routines in the library andDr. Stephen Henson2001-06-191-27/+27
| | | | | | | | | | applications to use EVP. Add missing calls to HMAC_cleanup() and don't assume HMAC_CTX can be copied using memcpy(). Note: this is almost identical to the patch submitted to openssl-dev by Verdon Walker <VWalker@novell.com> except some redundant EVP_add_digest_()/EVP_cleanup() calls were removed and some changes made to avoid compiler warnings.
* Fix: return 0 if no error occured.Bodo Möller2001-03-131-0/+1
|
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-1/+1
| | | | | | | missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-8/+8
| | | | | | | | | | | | sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
* Fix openssl passwd -1Bodo Möller2001-01-191-1/+1
|
* Improve usability of 'openssl passwd' by includingBodo Möller2000-11-171-1/+6
| | | | password verification where it makes sense.
* On VMS, stdout may very well lead to a file that is written to in aRichard Levitte2000-09-201-1/+7
| | | | | | | | | | | | | | | | | record-oriented fashion. That means that every write() will write a separate record, which will be read separately by the programs trying to read from it. This can be very confusing. The solution is to put a BIO filter in the way that will buffer text until a linefeed is reached, and then write everything a line at a time, so every record written will be an actual line, not chunks of lines and not (usually doesn't happen, but I've seen it once) several lines in one record. Voila, BIO_f_linebuffer() is born. Since we're so close to release time, I'm making this VMS-only for now, just to make sure no code is needlessly broken by this. After the release, this BIO method will be enabled on all other platforms as well.
* Update 'openssl passwd' documentation on selection of algorithms.Bodo Möller2000-07-311-1/+1
|
* BSD-style MD5-based password algorithm in 'openssl passwd'.Bodo Möller2000-06-231-29/+46
| | | | | (Still needs to be tested against the original using sample passwords of different length.)
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-5/+5
| | | | | | | | | like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
* Stylistic changes: Don't use a macro for the malloc'ed length since itBodo Möller2000-04-271-3/+5
| | | | is not constant.
* Warn about truncation also in the case when a single password is read usingBodo Möller2000-04-271-2/+4
| | | | the password prompt.
* Make gcc 2.95.2 happy here, too.Ralf S. Engelschall2000-02-241-0/+2
|
* Fix gcc warnings.Ulf Möller2000-02-201-3/+3
|
* Casts now unnecessary because of changed prototype.Bodo Möller2000-02-171-3/+3
|
* Fix signed/unsigned warnings.Ben Laurie2000-02-161-0/+2
|
* Corrections.Bodo Möller2000-02-111-7/+12
|
* Implement MD5-based "apr1" password hash.Bodo Möller2000-02-111-64/+338
|
* Fix shadow.Ben Laurie2000-02-111-8/+8
|
* 'passwd' tool.Bodo Möller2000-02-101-0/+192