Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | return failure if integer overflow happens. sigh; too people had to | deraadt | 2002-07-30 | 1 | -1/+7 |
| | | | | help get this right. | ||||
* | Replace atexit handler. mprotect() the pages so an attempt to modify the | dhartmei | 2002-07-29 | 3 | -71/+87 |
| | | | | | function pointers from the outside will segfault. Idea, hints and feedback from deraadt. ok deraadt. | ||||
* | Try to modify __atexit directly and see if our function gets called. | dhartmei | 2002-07-29 | 4 | -0/+152 |
| | |||||
* | query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152. | itojun | 2002-07-29 | 1 | -2/+8 |
| | | | | (need some string-manipulation cleanup near here) | ||||
* | more snprintf and strlcpy; help from millert | deraadt | 2002-07-25 | 1 | -13/+48 |
| | |||||
* | kill more strcpy | deraadt | 2002-07-25 | 4 | -16/+15 |
| | |||||
* | cleanup | deraadt | 2002-07-25 | 1 | -23/+26 |
| | |||||
* | Convert to ANSI function headers and make 'ch' argument int, not char. | millert | 2002-07-24 | 2 | -8/+6 |
| | | | | Noticed by deraadt@ | ||||
* | have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup. | itojun | 2002-07-24 | 1 | -3/+16 |
| | |||||
* | remove #define crypt DES_crypt; ok deraadt@ | markus | 2002-07-19 | 2 | -8/+0 |
| | |||||
* | use /bin/sh for bourne shell scripts (instead of the $SHELL env var). | markus | 2002-07-18 | 1 | -1/+1 |
| | | | | ok deraadt@ | ||||
* | Correct CFLAGS for vax; deraadt says ok. | hugh | 2002-07-18 | 1 | -5/+2 |
| | | | | NB future porters, default is still big endian. | ||||
* | correct memset arguments; from Moritz Jodeit <moritz@jodeit.org> via PR/2822. | fgsch | 2002-07-16 | 2 | -4/+4 |
| | |||||
* | clean | deraadt | 2002-07-11 | 1 | -123/+59 |
| | |||||
* | Disable support for the other hardware accelerators. No need to crank the | deraadt | 2002-07-11 | 1 | -5/+8 |
| | | | | major because these interfaces are really not exported (or used). | ||||
* | enviroment -> environment | jufi | 2002-07-07 | 3 | -5/+5 |
| | |||||
* | regress for getaddrinfo/getnameinfo | itojun | 2002-07-05 | 5 | -2/+397 |
| | |||||
* | correct handling of EOF on both tty input and network. for example, | vincent | 2002-07-04 | 1 | -11/+15 |
| | | | | | | | this allows stuff like nc -l 10101 < /dev/null to have nc exit automatically when it gets EOF from the network. ok ericj@ | ||||
* | more type pedant | itojun | 2002-07-01 | 1 | -2/+2 |
| | |||||
* | lint clean (and don't mixup signed/unsigned). from martin husemann | itojun | 2002-07-01 | 1 | -12/+12 |
| | |||||
* | define SUN_LEN if it is not already for portability. | vincent | 2002-07-01 | 1 | -1/+6 |
| | | | | millert made the same suggestion, so i guess it's ok ;) | ||||
* | use SUN_LEN to calculate AF_UNIX sockaddr's length. + some style | vincent | 2002-07-01 | 1 | -22/+18 |
| | | | | ok ericj@ | ||||
* | make more pedantic check on strtoul. from deraadt, sync w/kame | itojun | 2002-07-01 | 1 | -8/+12 |
| | |||||
* | correct port range check. from deraadt. sync w/kame. bind-bugs have ↵ | itojun | 2002-06-29 | 1 | -2/+3 |
| | | | | already notified. | ||||
* | Replace strtou?q() with the more standard strtou?ll(), using weak | millert | 2002-06-29 | 5 | -42/+108 |
| | | | | aliases to fake up strtou?q(). espie@ OK. | ||||
* | %d -> %u. mostly in #ifdef DEBUG. | itojun | 2002-06-27 | 5 | -34/+34 |
| | |||||
* | %d/%u mixup (in #ifdef DEBUG) | itojun | 2002-06-27 | 2 | -5/+5 |
| | |||||
* | ntohs() returns unsigned value | itojun | 2002-06-27 | 1 | -2/+2 |
| | |||||
* | correct bad practice in the code - it uses two changing variables | itojun | 2002-06-26 | 2 | -26/+22 |
| | | | | | | | to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is NOT critical. | ||||
* | avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl> | itojun | 2002-06-26 | 2 | -43/+33 |
| | | | | | | | | correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is critical. | ||||
* | remove support for RC4 via /dev/crypto, suggested by Niels; ok provos@ | markus | 2002-06-20 | 2 | -36/+0 |
| | |||||
* | do not syslog from libraries! | deraadt | 2002-06-19 | 2 | -20/+2 |
| | |||||
* | KNF, -Wall, and other cleanups. still does not failover 100% correctly | deraadt | 2002-06-19 | 2 | -44/+104 |
| | | | | for operations when /dev/crypto is missing, for instance in chroot | ||||
* | stupid stupid bug ja ja ja ja | deraadt | 2002-06-19 | 2 | -2/+2 |
| | |||||
* | unbreak sshd with privsep: open /dev/crypto, keep fd, and call | markus | 2002-06-18 | 2 | -10/+40 |
| | | | | CRIOGET per EVP_Init(); ok niklas@, miod@ | ||||
* | per-evp state is now sizeof(struct dev_crypto_state) instead sizeof(struct ↵ | markus | 2002-06-18 | 2 | -12/+12 |
| | | | | session_op) | ||||
* | keep a FD per EVP_init, use a global FD for all asym operations; | markus | 2002-06-13 | 2 | -166/+170 |
| | | | | ok beck@ | ||||
* | KNF | deraadt | 2002-06-11 | 2 | -38/+32 |
| | |||||
* | add "dsa_dsa_mod_exp" - This mimics the software dsa_mod_exp funtion | beck | 2002-06-11 | 2 | -6/+74 |
| | | | | | | | using two mod_exp operations - otherwise we use BN_mod_exp2 entirely in software, which makes dsa verifications glacially slow while signatures, (which use mod_exp) are fast. This lets cards that can only do bn_mod_exp decently offload most of dsa. | ||||
* | Make DSA work now... at least for things that can do bn_mod_exp. | beck | 2002-06-11 | 2 | -14/+8 |
| | |||||
* | Make asymmetric crypto work in userland | beck | 2002-06-11 | 2 | -72/+228 |
| | | | | | this will only be used if you both have a card that supports it with a working driver and you set sysctl kern.userasymcrypto=1 | ||||
* | spelling; moritz@jodeit.org | deraadt | 2002-06-09 | 1 | -2/+4 |
| | |||||
* | Pass the right arguments for RSA, DSA, and modexp operations. Fix the | angelos | 2002-06-09 | 2 | -60/+74 |
| | | | | translation between the crypto framework's format and the BN structure. | ||||
* | After much horrible and painful slogging through asn1 code, | beck | 2002-06-08 | 2 | -0/+2 |
| | | | | | | | | | | this fixes the source of connection problems with ssl/tls connections between sparc64 and other things. The punchline, we just found a bug in floating point emulation on sparc64 when this script produces off-by-one output on sparc64. This fix is annoyingly easy for the effort expended. | ||||
* | do not propose IDEA cipher on SSL connection. tested by beck | itojun | 2002-06-07 | 5 | -0/+18 |
| | | | | noticed by Sverre Froyen <sverre@viewmark.com> | ||||
* | typo - I am a luser and a moron. | beck | 2002-06-07 | 1 | -2/+2 |
| | |||||
* | Merge OpenSSL 0.9.7-stable-20020605, | beck | 2002-06-07 | 100 | -5004/+1076 |
| | | | | correctly autogenerate obj_mac.h | ||||
* | sig_atomic_t type must also be volatile | deraadt | 2002-06-03 | 2 | -2/+2 |
| | |||||
* | we do not need this to be Makefile.bsd-wrapper | deraadt | 2002-06-01 | 2 | -979/+976 |
| | |||||
* | Avoid spinning poll, and while we're at it more closely reproduce the | hugh | 2002-05-30 | 1 | -3/+9 |
| | | | | original netcat's timeout behaviour. Theo says go. |