summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcscpy.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-17Bob O.D.'ed on the o_dir code so high he forgot to rm the `test' aftermiod2-132/+0
rewriting the code.
2014-04-17sprintf: bad.miod2-2/+2
snprintf: good. snprintf with a correct size: better! (harmless in this case)
2014-04-17Remove utils that we don't useafresh16-330/+0
opensslwrap.sh and shlib_wrap.sh are used by tests that are getting replaced, x86asm.sh is obsoleted by our Makefile machinery ok miod
2014-04-17Remove unused ssl utilsafresh160-11438/+0
This code is the reason perl has a name as a write only language. ok deraadt miod
2014-04-17expunge more of the old build systemafresh14-1199/+0
ok deraadt miod
2014-04-17Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function.miod24-502/+4
2014-04-17fix some more leaks, mostly suggestions from miodjsg12-4/+28
ok miod@
2014-04-17Remove the benchmark part of the selftest. It uses the undocumentedmiod2-86/+0
OPENSSL_rdtsc() routine to get a high-precision timestamp, and (although this is the only user of this routine in libcrypto) forces every platform willing to provide fast assembly versions of some routines, to also provide OPENSSL_rdtsc().
2014-04-17crypto/modes/gcm128.c can be used as its own selftest. Add it to regress,miod2-1/+14
conveniently leaving the benchmark code not compiled in the test.
2014-04-17Ok, there was a need for OPENSSL_cleanse() instead of bzero() to preventmiod19-744/+2
supposedly smart compilers from optimizing memory cleanups away. Understood. Ok, in case of an hypothetically super smart compiler, OPENSSL_cleanse() had to be convoluted enough for the compiler not to recognize that this was actually bzero() in disguise. Understood. But then why there had been optimized assembler versions of OPENSSL_cleanse() is beyond me. Did someone not trust the C obfuscation?
2014-04-17Move the machine-specific parts of the libcrypto Makefile to per-arch makefilemiod5-104/+242
fragments, to ease maintainance, and see through the fog of bugs. "looks good" deraadt@
2014-04-17some KNF cleanup following the scriptderaadt44-338/+332
2014-04-17Invoke OPENSSL_add_all_algorithms_noconf() to enforce OPENSSL_cpuid_setup()miod1-5/+1
has been called, for, depending how libcrypto, it might be a hidden symbol. Reported by jsg@
2014-04-17fix some of the leaksjsg8-14/+46
ok miod@ looks good deraadt@
2014-04-17fix a potential double freejsg2-4/+4
ok miod@
2014-04-17remove OPENSSL_realloc_clean usage here - replace with intrinsics to makebeck2-8/+14
it obvious what should happen. ok tedu@
2014-04-17Fully kill FIPS API. Forcible certification conflicts with the goals of atedu5-158/+2
free software project. ok beck deraadt Ports calling FIPS_mode_set(1): mongodb
2014-04-17Initial KNF.jsing8-1016/+1010
2014-04-17Initial KNF.jsing4-502/+459
2014-04-17Initial KNF.jsing2-173/+133
2014-04-17More KNF.jsing2-11/+16
2014-04-17More KNF.jsing1-11/+17
2014-04-17Initial KNF.jsing1-329/+289
2014-04-17I've replaced everything in this file. ISC liscense it with my copyrightbeck2-108/+26
2014-04-17Initial KNF.jsing1-212/+214
2014-04-17Remove defines for unwanted OS support...jsing1-54/+0
ok miod@
2014-04-17remove some code that is now unused after guenther's changes in 1.20.jsg2-32/+2
2014-04-17KNF.jsing2-6/+6
2014-04-17Initial KNF.jsing6-278/+244
2014-04-17simply wrap around intrinsics, and knf cleanup.beck2-114/+108
ok miod@ deraadt@
2014-04-17Change library to use intrinsic memory allocation functions instead ofbeck477-2618/+2618
OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
2014-04-17Revert unintended whitespace changes.jsing5-19/+19
2014-04-17OPENSSL_gmtime() is not a gmtime() wrapper. It is a gmtime_r().deraadt2-36/+8
Always trying to confuse people... ok guenther
2014-04-17OPENSSL_DECLARE_EXIT serves no purpose.deraadt19-19/+0
2014-04-171. RAND_seed is now DEPRECATEDderaadt4-4/+0
2. Even passing a digest in as entropy is sloppy. But apparently the OpenSSL guys could find no objects of lesser value to pass to the pluggable random subsystem, and had to resort to private keys and digests. Classy. ok djm
2014-04-17RAND_seed now does nothing, so skip the operationderaadt2-12/+0
2014-04-17Do not feed RSA private key information to the random subsystem asderaadt6-22/+0
entropy. It might be fed to a pluggable random subsystem.... What were they thinking?! ok guenther
2014-04-17remove duplicated tests in if statementsjsg2-8/+8
ok krw@ sthen@ deraadt@
2014-04-17Fix for ", " issue in jsing's knf scriptguenther1-2/+2
2014-04-17Do not need to map to another silly name for unistd.h here eitherderaadt1-1/+0
2014-04-17unistd.h is always in the same place; no need to #include the result ofderaadt27-52/+29
a maze of conditional #define's
2014-04-17minimal fix for ', ' issue in jsing's indent scriptderaadt1-8/+9
2014-04-17OpenSSL PR#3309: when looking for an extension, set the last found positionsthen2-6/+6
to -1 to properly search all extensions. ok tedu@ From http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=300b9f0b70
2014-04-17Remove the ossltests target, these are now all in libcrypto regressjsg1-208/+2
except sha256t/sha512t which are likely to be removed for license reasons.
2014-04-17move enginetest to regress as was done with the other testsjsg4-284/+9
2014-04-17call the correct decrypt function in aes_cbc_cipher()jsg2-2/+2
From: commit e9c80e04c1a3b5a0de8e666155ab4ecb2697a77d Author: Andy Polyakov <appro@openssl.org> Date: Wed Dec 18 21:42:46 2013 +0100 evp/e_[aes|camellia].c: fix typo in CBC subroutine. It worked because it was never called. Our e_camellia.c does not have this problem. ok miod@ deraadt@
2014-04-17tag some functions with bounded. idea and ok djmtedu2-6/+12
2014-04-16TANSTAAFL - delete the buf freelist code. if you need a better malloc, gettedu9-260/+9
a better malloc. ok beck deraadt
2014-04-16add back SRP. i was being too greedy.tedu23-2/+1804
2014-04-16Clean up dangerous strncpy use. This included a use where the resultingbeck18-150/+34
string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c ok miod@