summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-29Make sure to call uhidev_close() upon detach, plug another xfer leak.Martin Pieuchot
2014-04-29Plug an xfer leak.Martin Pieuchot
2014-04-29Get rid of the per-softc freelist of transfer descriptors and use aMartin Pieuchot
per-driver pool(9) instead. With inputs from mikeb@
2014-04-29Remove unused arguments from ssl_smtp_init()Reyk Floeter
ok gilles@
2014-04-29Remove support for the obsolete (non-POSIX) "more -d" prompt.Todd C. Miller
This was a local change that was only enabled when the LESS_IS_MORE environment variable was set and not when invoked as "more". OK shadchin@ jmc@
2014-04-29If you plan to write an obfuscated-by-design kernel / userlandMartin Pieuchot
interface, I suggest you have a look at the link-layer sockaddr interface: /* * A Link-Level Sockaddr may specify the interface in one of two * ways: either by means of a system-provided index number (computed * anew and possibly differently on every reboot), or by a human-readable * string such as "il0" (for managerial convenience). [...] */ ifa_ifwithnet() was not only checking for the sdl_index in order to get the corresponding ifp for AF_LINK sockaddr, it was also iterating over all the addresses on your system! But in this case, the `address' field of "struct sockaddr_dl" is an interface name set by link_addr(3). How can this work? Well because the kernel allocates an empty `netmask' field for each interface's lladdr, so that you can abuse a network comparison function to reimplement strcmp(3)... So when the userland does not specify an interface index, try harder to see if it passed an ifp name, but at least be explicit and use ifunit(). Found the hard way by/ok sthen@
2014-04-29make sure the state machine only advances if the AUTH payload hasMarkus Friedl
been verified; with & ok mikeb@
2014-04-29use explicit_bzero() instead of memset() to clear out sensitive data.Reyk Floeter
ok gilles@
2014-04-29It is only required to load the keys and certs into the same SSLReyk Floeter
context once. Simplify the code path by moving the loading from three different places into ssl_ctx_create(): ok gilles@
2014-04-29Replace 1 << PAGE_SHIFT with PAGE_SIZE.Mark Kettenis
ok beck@, miod@
2014-04-29Fix typo: d_addrt -> daddr_tDavid Coppa
ok bmercer@
2014-04-29fix a test for invalid timezonesJonathan Gray
oks from a bunch of people
2014-04-29Remove device white-listing as matching method, relies on on usage idAndre de Oliveira
versus supported sensors table filtering. discussed with and ok mpi@
2014-04-28Implement AI_ADDRCONFIGsperreault
This is a getaddrinfo() flag that is defined thusly in RFC 3493: If the AI_ADDRCONFIG flag is specified, IPv4 addresses shall be returned only if an IPv4 address is configured on the local system, and IPv6 addresses shall be returned only if an IPv6 address is configured on the local system. The loopback address is not considered for this case as valid as a configured address. For example, when using the DNS, a query for AAAA records should occur only if the node has at least one IPv6 address configured (other than IPv6 loopback) and a query for A records should occur only if the node has at least one IPv4 address configured (other than the IPv4 loopback). The flag is set by default when hints is NULL. ok Eric Faurot, Jason McIntyre
2014-04-28Remove WIN32, WIN64 and MINGW32 tentacles.Miod Vallat
Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@
2014-04-28Remove bogus semicolon.Brad Smith
Pointed out by LLVM. fd.c:1378:29: error: if statement has empty body [-Werror,-Wempty-body] ok miod@
2014-04-28use the correct algorithm mask. reported by satish lvr viaTed Unangst
http://marc.info/?l=openssl-dev&m=139779977532459&w=2 ok miod
2014-04-28SSL_OP_ALL is supposed to be all options and workarounds that are safe,Ted Unangst
but disabling attack mitigations is not safe. 0.9.6d contained a workaround for an attack against CBC modes. 0.9.6e disabled it by default because "some" implementations couldn't handle empty fragments. 12 years have passed. Does anybody still care? Let's find out. ok miod
2014-04-28Remove ending cplusplus guard followed by starting cplusplus guard; fromMiod Vallat
Gebruiker Schoot.
2014-04-28Leftover includes and local declarations; from Gebruiker SchootMiod Vallat
2014-04-28Ignore IRIX6-compatible archive map on mips64 platform, since the mips64Miod Vallat
toolchain creates them. This lets nm -w correctly return 0 for valid archives. ok jasper@ deraadt@
2014-04-28re-add _ppp for npppd here as well; ok ajacoutotOkan Demirmen
2003-05-11import 0.9.7b (without idea and rc5)Markus Friedl
2014-04-28macro fixes for previous; ok reykJason McIntyre
2014-04-28sync bzero => memset that was done for ip_divert.c before.Reyk Floeter
ok tedu@
2014-04-28Do not sleep after poll returning an error. Blindly copied over fromFlorian Obser
ping6 to ping by me without thinking clearly. pointed out by deraadt@ OK jca@
2014-04-28Add support for 255 character file names in fuse.Sylvestre Gallon
from Helg Bredow, thanks! input/OK reyk@
2014-04-28fix memory leakBret Lambert
ok reyk@
2014-04-28check for integer overflows in custom allocs, okay jca@Marc Espie
2014-04-28Add support for exporting ARP table via ipNetToMediaTable OID.Mike Belopuhov
With help from blambert@ and sthen@, tested by sthen@, benno@ and myself; ok blambert
2014-04-28spacingReyk Floeter
2014-04-28spacingReyk Floeter
2014-04-28bump copyrightReyk Floeter
2014-04-28Add missing documentation for ipcomp(4) support and the configurationReyk Floeter
payloads. ok sthen@ krw@
2014-04-28It's about time to remove the infamous CAVEATS section in iked(8).Reyk Floeter
Software is never "finished" but the implementation has matured enough to drop the disclaimer about using it in production networks. Thanks to markus@, mikeb@ and Hans-Joerg Hoexer for their significant and ongoing work on improving iked(8). Removal prompted by sthen@ and many others.
2014-04-28Move an opening brace so a loop that delays while waitingJonathan Gray
for hardware to set a ready bit actually delays. ok krw@ deraadt@ 'sounds correct' miod@
2014-04-28whitespace cleanup while reading result of florian's recent (very nice) workTheo de Raadt
2014-04-28better proc id name (it handles traps, not alerts) for theBret Lambert
snmp trap handler
2014-04-28buffer_get_string_ptr's return should be const to remindDamien Miller
callers that futzing with it will futz with the actual buffer contents
2014-04-27Improve error handling in dbopen(). If PRAGMA SQL statements fail,Ingo Schwarze
report the error, close the database, and return failure from dbopen(), such that the main program can recover and rebuild the database. As noticed by stsp@, this can happen when database files are accessible, but corrupt or in the wrong format, which will now automatically be repaired. Besides, use a safer idiom after sqlite3_open*() failure that also handles out-of-memory situations correctly, and do not forget to close the database after CREATE TABLE failure.
2014-04-27For LUNA88K, make sure the architecture name shown to the userIngo Schwarze
matches the architecture name required for man -S and apropos -S. Adjust the case of LUNA68K to match the case of LUNA88K. ok aoyama@
2014-04-27Regress for access()Philip Guenther
2014-04-27typo in commentMiod Vallat
2014-04-27Remove orphaned l2n6 and n2l6 macros.Miod Vallat
2014-04-27Use C99 initializers for the various FOO_METHOD structs. More readable, andMiod Vallat
avoid unreadable/unmaintainable constructs like that: const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PKEY_CMAC, EVP_PKEY_CMAC, 0, "CMAC", "OpenSSL CMAC method", 0,0,0,0, 0,0,0, cmac_size, 0, 0,0,0,0,0,0,0, cmac_key_free, 0, 0,0 }; ok matthew@ deraadt@
2014-04-27static const char * = "" -> static const char[] = "", to produce shorter code.Miod Vallat
No functional change.
2014-04-27Unifdef -U OPENSSL_BUILD_SHLIBCRYPTO, since all it causes under Unix is toMiod Vallat
redefine OPENSSL_EXTERN from `extern' to `extern'.
2014-04-27Put explicit (void) in function declarations and shuffle keywords in someMiod Vallat
declaration to pass -Wextra, should we want to add it to CFLAGS. No binary change.
2014-04-27Fix library search order in our libtool.Vadim Zhukov
Before, libtool first searched all directories for .la files, and if search failed, switched to actual libraries (.so/.a). But the correct way is to check each directory first for .la, then for .so/.a. The problem was reported by ajacoutot@ who verified that the patch fixes his case and okay'ed the initial diff. And jasper@'s bulk uncovered a bug which is fixed now (verified by another bulk).
2014-04-27zap trailing whitespace;Jason McIntyre