Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing; ↵ | deraadt | 2002-07-31 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | markus miod ok | |||||
* | | | | sync with http://www.openssl.org/news/patch_20020730_0_9_7.txt | markus | 2002-07-30 | 8 | -26/+48 | |
| | | | | | | | | | | | | | | | | | | | | (adds fix for unused kerberos and engine code, and some more assertions, as well as a 64bit integer string fix for conf_mod.c) | |||||
* | | | | apply patches from OpenSSL Security Advisory [30 July 2002], | markus | 2002-07-30 | 29 | -14/+136 | |
| | | | | | | | | | | | | | | | | http://marc.theaimsgroup.com/?l=openssl-dev&m=102802395104110&w=2 | |||||
* | | | | more strlcpy; itojun ok | deraadt | 2002-07-30 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | 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. | |||||
* | | | | 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 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 | |
| | | | | ||||||
* | | | | 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 | |
| | | | | ||||||
* | | | | 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 | |
| | | | | ||||||
* | | | | unsigned vs unsigned int | deraadt | 2002-05-27 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | pid_t cleanup | deraadt | 2002-05-26 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | do not assume scripts are executable | deraadt | 2002-05-25 | 12 | -12/+12 | |
| | | | |