summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcscpy.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-25"for every change..."tedu2-2/+2
2014-05-25remove OPENSSL_memcmp before somebody tries to use it. ok beck miodtedu2-12/+0
2014-05-25remove OPENSSL_isservice. not used internally, no sane posix software willtedu2-12/+0
call it, and windows service software can figure this out on its own. ok beck miod
2014-05-25remove unused shit. from Alexander Schrijvertedu8-42/+4
2014-05-25define LIBRESSL_INTERNAL, and use it to hide the bad stuff from ourselvestedu4-4/+8
ok beck
2014-05-25Remove TLS_DEBUG, SSL_DEBUG, CIPHER_DEBUG and OPENSSL_RI_DEBUG. Much ofjsing18-296/+0
this is sporadic, hacked up and can easily be put back in an improved form should we ever need it. ok miod@
2014-05-25There is little interest in supporting Watt-32 TCP/IP debugging. Forderaadt1-7/+0
reference, check out http://www.watt-32.net/ ok jsing
2014-05-25Turn off MemCheck_on and MemCheck_off. These calls are pointless since thejsing4-30/+6
crypto memory debugging code has been castrated. ok miod@ "kill it" beck@
2014-05-25The ssl_ciper_get_evp() function is currently overloaded to also return thejsing13-62/+107
compression associated with the SSL session. Based on one of Adam Langley's chromium diffs, factor out the compression handling code into a separate ssl_cipher_get_comp() function. Rewrite the compression handling code to avoid pointless duplication and so that failures are actually returned to and detectable by the caller. ok miod@
2014-05-25Whitespace fixes to align define values.jsing2-170/+172
2014-05-24In ssl_cipher_get_evp(), fix off-by-one in index validation before accessingmiod2-4/+4
arrays. "kind of scary" deraadt@, ok guenther@
2014-05-24I'm so sorry to learn that the Diab compiler can't (or used not to) parse Cmiod2-10/+2
code. Remove workaround.
2014-05-24Use C99 initialisers for SSL3_ENC_METHOD structs.jsing8-108/+126
ok miod@
2014-05-24Remove the _shadow_ indirection, which is unnecessary in a world withoutjsing6-14/+8
OPENSSL_EXPORT_VAR_AS_FUNCTION. ok miod@
2014-05-24KNF.jsing30-4436/+3826
2014-05-24More KNF.jsing2-4/+4
2014-05-24Add the RFC 7027 test vectors; from OpenSSL HEADmiod1-0/+171
2014-05-24KNF.jsing8-182/+182
2014-05-24Enable three brainpool elliptic curves for TLS, as specified in RFC 7027;miod2-2/+26
from OpenSSL HEAD. ok beck@ deraadt@ jsing@
2014-05-24Code using malloc() in ssl23_get_client_hello() got removed 12 years ago,miod2-64/+54
it's time to remove the test for a possible need to free(). ok jsing@
2014-05-24Use sizeof(cryptopro_ext) instead of 36 when applicable.miod2-8/+8
ok jsing@
2014-05-24Invoke OPENSSL_cleanse() with the size of the variable you are cleaning.miod2-2/+2
ok jsing@
2014-05-24We have shared global variables - unifdef OPENSSL_EXPORT_VAR_AS_FUNCTION.jsing5-146/+0
ok miod@ beck@
2014-05-24Move ssltest.c to a regress test.jsing7-0/+330
2014-05-24remove OPENSSL_malloc and CRYPTO_malloc goo from the regress tests.beck6-77/+22
ok miod@ jsing@ guenther@
2014-05-24make this compile again - actually include stdio and friends ourselves.beck1-1/+3
2014-05-24Move the regress tests that are in lib/libssl to usr.sbin/openssl,jsing8-245/+0
since they are really testing openssl(1) (although this also tests libcrypto and libssl), rather than actual parts of the libssl library. Discussed with miod@
2014-05-24Expand the OPENSSL_.*GLOBAL.* macros and stop including e_os2.h.jsing6-16/+14
ok miod@ beck@
2014-05-24Include <openssl/opensslconf.h> - currently ssl.h is relying on it beingjsing2-2/+4
pulled in elsewhere, even though it is makes use of the OPENSSL_NO_* defines. While here, remove kssl.h since it is a no-op. ok beck@ miod@
2014-05-24DeIMPLEMENT libssl. Expand the IMPLEMENT_* macros since it is far morejsing24-412/+1308
readable and one less layer of abstraction. Use C99 initialisers for clarity, grepability and to protect from future field reordering/removal. ok miod@ (tedu@ also thought it was a wonderful idea, beck@ also agreed, but ran away squealing since it reminded him of the VOP layer...)
2014-05-24Another e_os2.h -> opensslconf.h.jsing2-2/+6
2014-05-24e_os2.h is not needed here.jsing2-2/+2
2014-05-24Explicitly include <openssl/openssl.conf>. des.h still needs e_os2.h (atjsing2-4/+6
least for a little while longer...)
2014-05-24Almost nothing actually needs to include <openssl/e_os2.h>, however byjsing52-56/+98
including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@
2014-05-24Expand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around,jsing4-4/+4
since they are hiding in the #define forest. ok miod@
2014-05-24Spell ssize_t correctly (the incorrect spelling is ossl_ssize_t).jsing8-30/+30
ok miod@
2014-05-24No OPENSSL_SYS_WINDOWS wanted.jsing2-6/+0
ok miod@
2014-05-23Take an axe to rc5speed.c - strip out everything that is for otherjsing2-168/+18
platforms.
2014-05-23We have stdio and are not WIN16.jsing2-4/+0
2014-05-23Not OPENSSL_SYS_SUNOS.jsing2-6/+0
2014-05-23Clean up the SSL cipher initialisation and use C99 initialisers forjsing2-3418/+3424
clarity, grepability and to protect from future field reordering/removal. ok miod@
2014-05-23signal.h is not needed here.jsing1-1/+0
2014-05-23Stop pulling signal.h into apps.h - just include it from openssl.c wherejsing2-2/+1
it is needed.
2014-05-23Replace (sometimes conditional) use of alloca with malloc, and clearingmiod4-78/+32
through volatile pointers with explicit_bzero(). ok beck@ jsing@
2014-05-23Calling signal once to ignore SIGPIPE is sufficient - we do not need to dojsing37-67/+0
this again in each app. ok miod@
2014-05-23Move include to the top and nuke pointless comments.jsing1-8/+1
2014-05-23don't deprecate until at least the base src tree is clean.tedu2-24/+16
2014-05-22Mark the malloc wrapper functions as deprecated so warnings willbeck2-16/+24
happen on their use. ok miod@
2014-05-22Convert OPENSSL_malloc stuff back to intrinsics, a few were missedbeck6-12/+12
as new stuff was brought in. ok miod@
2014-05-22if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullymiod51-164/+85
eyeballed before applying. Contributed by Cyril Roelandt on tech@