summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcpy.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-06Add a fixed (read: non-SIGSEGV'ing) pq_test.miod3-1/+111
2014-05-06Remove broken-by-design testmiod2-190/+0
2014-05-06Make sure PKCS7_get_octet_string() return values are checked for NULL.miod2-4/+20
Reported by David Ramos (and simultaneously to OpenSSL as PR#3339). ok beck@ logan@
2014-05-06Sort CFLAGS, SRC and SSLASM stanzas by the directories they apply to, to makemiod4-136/+166
these files similar in layout to the other md Makefile.inc; no functional change.
2014-05-06missing NULL checks to see if init is needed. found hard way by deraadt.tedu1-3/+3
2014-05-06fix stupid committedu1-5/+5
2014-05-06use explicit_bzerotedu1-5/+5
2014-05-06clear a stack buffer with explicit_bzerotedu1-2/+2
2014-05-06knf approximationtedu48-17238/+18272
2014-05-06move chacha context and buffer out of bss and allow mmap to place themtedu1-6/+16
wherever it decides it would like them. first step. ok deraadt dlg djm
2014-05-06"stay backwards-compatible with 0.9.5; this should go away soon"tedu1-8/+0
it's your lucky day!
2014-05-06remove Kerberostedu2-41/+0
2014-05-06move a comment to make unifdef happiertedu1-2/+3
2014-05-06bye bye SRPtedu4-975/+0
2014-05-05inspired by a cloudflare diff, cleanse old memory when expanding a bignum.tedu2-34/+18
however, instead of trying to audit all the places where a secret bignum is used, apply the big hammer and clear all bignums when freed. ok deraadt miod
2014-05-05Sort and group includes.jsing4-20/+22
2014-05-05Repair BIO_socket_nbio operation.jsing2-4/+6
ok miod@
2014-05-05During the great e_os.h nukathon we stopped pulling in <sys/filio.h> viajsing3-35/+6
the ifdef maze, meaning that FIONBIO was no longer defined. This removes non-blocking I/O support from s_{client,server,time}. Remove all FIONBIO ifdefs and import <sys/ioctl.h>, renabling -nbio. ok miod@
2014-05-05Kill memory debug calls that are now noops. While here, nuke an #if 0 andjsing1-22/+3
a unnecessary NULL check before free. ok miod@
2014-05-05OpenBSD has_SC_CLK_TCK.jsing1-27/+0
ok miod@
2014-05-05Remove SRP and Kerberos support from libssl. These are complex protocolstedu30-5120/+2
all on their own and we can't effectively maintain them without using them, which we don't. If the need arises, the code can be resurrected.
2014-05-05Enable assembler code for DES. Assembler code for BN is commented out as itmiod2-0/+54
uses the `umul' and `udiv' instructions directly, which are not supported on v7 processors.
2014-05-04Improve line wrapping for lines exceeding 80 chars.jim128-497/+714
ok jmc@
2014-05-04Add missing SEE ALSO section header.jim1-0/+2
yup jmc@
2014-05-04Remove trailing whitespace.jim140-345/+345
fine jmc@
2014-05-04Remove a leading whitespace.jim1-1/+1
ok jmc@
2014-05-04Add missing SEE ALSO section header.jim2-0/+4
ok jmc@
2014-05-04Improve line wrapping for lines exceeding 80 chars.jim43-58/+115
ok jmc@
2014-05-04Remove trailing whitespace.jim22-36/+36
ok jmc@
2014-05-04delete useless test codederaadt1-23/+1
2014-05-04Remove trailing whitespace.jim37-176/+176
no objection jmc@
2014-05-04i give up. reuse problem is unfixable. dlg says puppet crashes.tedu2-16/+8
2014-05-04Enable the assembler code for BN, which was lost quite some time ago.miod2-0/+38
2014-05-04Remove the !SSLASM conditional. Either there is an arch-specific Makefile.inc,miod1-4/+2
or the !SSLASM list of files applies. This allows for an arch-specific Makefile.inc to not specify SSLASM.
2014-05-03Enable assembler code for AES, DES, GCM, SHA1, SHA256 and SHA512.miod2-0/+92
The sparcv9 BN code is not enabled, as it expects to run on a 32-bit userland and will need to be fixed for 64-bit userland first.
2014-05-03Enable assembler code for AES, BN (Montgomery), GCM128, SHA1, SHA256 and SHA512.miod2-0/+90
Note that GCM128 Neon code is currently not built (and thus not tested), as the current toolchain does not support Neon instructions.
2014-05-03Do not compile the neon probe code until __ARM_ARCH__ >= 7. Neon-specific codemiod4-4/+28
will not get referenced if this condition is not met.
2014-05-03typosmiod2-4/+4
2014-05-03Correctly enable Montgomery code.miod2-2/+4
2014-05-03now that 5.5 has been released with compatibility for 2b hashes,tedu1-2/+2
switch to generating them by default. prodded by deraadt and sthen
2014-05-03Update the base64 regress test and enable a test that would previouslyjsing1-19/+28
have resulted in a segfault. Also update the resulting output bytes now that the invalid/corrupt input is detected and rejected; unless you're using BIO_FLAGS_BASE64_NO_NL, in which case you still get a stream of zero value bytes and no way of knowing that the data is invalid/corrupt.
2014-05-03Add checks for invalid base64 encoded data, specifically relating to thejsing2-0/+24
handling of padding. This fixes a crash that can be triggered by feeding base64 data followed by 64 or more padding characters, which results in a negative output length. This issue was reported by David Ramos, although the same bug has been sitting in the OpenSSL RT since 2011: https://rt.openssl.org/Ticket/Display.html?id=2608 Worse still, BIO_read seems to be completely unable to detect that the base64 input was invalid/corrupt - in particular, enabling BIO_FLAGS_BASE64_NO_NL results in a stream of zero value bytes rather than no input (possibly a good replacement for /dev/null...), which could result in nasty consequences. Prior to this fix some zero value bytes were also injected without this flag being enabled. The recently added base64 regress triggers and documents these issues (and also ensures that this change retains functional behaviour).
2014-05-031. Drop support for no minor. This variant doesn't exist anymore.tedu1-44/+30
2. Pull up the actual minor processing code into the switch that parses it. 3. atoi is actually simpler than strtonum in this case, but check the input beforehand so we don't get unexpected results. 4. Slightly more consistent style between various parse and check and increment operations on salt. ok deraadt
2014-05-03It is definitly not the correct spelling.jsing2-4/+4
2014-05-03KNF.jsing8-1864/+1820
2014-05-03Nuke more defines - we have setvbuf() and _IONBF.jsing2-16/+0
ok deraadt@
2014-05-03KNF.jsing8-990/+1028
2014-05-03Initial version of a base64 regress.jsing3-1/+382
2014-05-03Enable assembler bits for BN (Montgomery), SHA1 and SHA256.miod2-0/+88
Assembler bits for AES remain commented out as they run slower than the C code.
2014-05-03Detect Altivec support with the machdep.altivec sysctl rather than setmp andmiod4-204/+40
a SIGILL handler. Do not attempt to detect and use a 64-bit FPU yet.