summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-09-12Fix the openssl(1) prime command: When checking a decimal number forlteo1-3/+2
primality, do not unnecessarily convert the original decimal number to hex in the output. Hex numbers explicitly specified with -hex remain unchanged. ok beck@ deraadt@ jsing@ miod@
2015-09-12Move handshake message header length determination into a separatejsing8-46/+54
ssl3_handshake_msg_hdr_len() function. Use this to correct several places that have magic numbers with header lengths hardcoded as '4'. ok beck@
2015-09-12Wrap <unistd.h> so that internal calls go direct and they're all weak symbolsguenther6-4/+12
Delete unused 'fd' argument from internal function oldttyname()
2015-09-12Wrap <getopt.h> to make the functions weak and make access to the initializedguenther1-1/+6
variables go direct. (Common variables cannot be aliased.)
2015-09-12Uncopy and unpaste dtls1_send_certificate_request() - removes another 80jsing4-160/+6
lines of code, while gaining SIGALGs support.
2015-09-12Uncopy and unpaste dtls1_send_server_key_exchange(). Removes another 329jsing4-658/+6
lines of code, while gaining bug fixes and SIGALGs support.
2015-09-12Uncopy and unpaste dtls1_send_server_done().jsing4-36/+6
2015-09-12Uncopy and unpaste dtls1_send_server_hello().jsing4-136/+6
2015-09-12Uncopy and unpaste dtls1_send_hello_request().jsing4-36/+6
2015-09-12Convert the rest of the server handshake functions to ssl3_handshake_msg_*.jsing2-88/+70
ok beck@
2015-09-12Uncopy and unpaste dtls1_send_client_verify() - thejsing4-148/+6
ssl3_send_client_verify() is different, but it correctly supports things like SIGALGS. Another 74 lines of code bites the dust.
2015-09-12Uncopy and unpaste dtls1_send_client_key_exchange() - thejsing4-538/+10
ssl3_send_client_key_exchange() is effectively identical, in fact it has a number of bug fixes and improvements that never got merged into the DTLS copy of the code. Flenses another 264 lines of code. ok beck@
2015-09-12Use explicit_bzero() instead of memset() when clearing private keys.jsing2-6/+8
ok bcook@ beck@ miod@
2015-09-12Pull variable assignment out from function call, fix indentation and setjsing2-16/+14
state after calling ssl3_handshake_msg_finish().
2015-09-12style(9) and whitespace cleanups.jsing2-58/+50
2015-09-12Remove workaround for old SIMICS toolchain.miod2-90/+2
2015-09-12Remove horribly old and outdated `documentation' for the assembly code.miod12-652/+0
2015-09-12use SOCK_CLOEXEC instead of fnctl; ok guenther beck jsingderaadt1-12/+16
2015-09-12fix previous;jmc2-31/+48
2015-09-11spaces found during a readderaadt1-19/+18
2015-09-11Add TLS suppport to nc. Provides a useful little test and script tool.beck3-45/+346
ok jsing@ bluhm@
2015-09-11unifdef -DOPENSSL_NO_RC5jsing2-42/+2
2015-09-11kill evil commentbeck1-3/+1
ok deraadt@
2015-09-11Rename functions that moved to t1_enc.c, with a tls1_ prefix instead of ajsing24-130/+130
ssl3_ prefix. ok beck@
2015-09-11fix unchecked mallocs - coverity 130454 and 130455beck1-6/+15
ok jsing@
2015-09-11Merge the remnants of s3_enc.c into t1_enc.c.jsing4-269/+248
ok beck@
2015-09-11Nuke ssl_set_peer_cert_type().jsing4-20/+4
ok "flensing knife"
2015-09-11Nuke ssl_bad_method().jsing4-22/+4
ok "flensing knife"
2015-09-11Nuke ssl3_default_timeout().jsing4-26/+4
ok "flensing knife"
2015-09-11Nuke ssl_replace_hash().jsing4-46/+4
ok "flensing knife"
2015-09-11Nuke ssl3_cbc_remove_padding().jsing4-68/+4
ok "flensing knife"
2015-09-11Nuke ssl3_alert_code().jsing3-76/+3
ok "flensing knife"
2015-09-11Nuke ssl3_cert_verify_mac() and ssl3_handshake_mac().jsing3-86/+3
We also no longer need the ssl3_pad_1 and ssl3_pad_2 arrays... ok "flensing knife"
2015-09-11Nuke ssl3_final_finish_mac().jsing3-22/+3
ok "flensing knife"
2015-09-11Nuke ssl3_change_cipher_state().jsing3-113/+3
ok "flensing knife"
2015-09-11Nuke ssl3_generate_master_secret().jsing3-39/+3
ok "flensing knife"
2015-09-11Nuke ssl3_setup_key_block() and ssl3_generate_key_block().jsing3-122/+3
ok "flensing knife"
2015-09-11Nuke n_ssl3_mac().jsing3-103/+3
ok "flensing knife"
2015-09-11Nuke ssl3_enc().jsing3-76/+3
ok "flensing knife"
2015-09-11Nuke SSLv3_enc_data.jsing4-48/+6
ok "flensing knife"
2015-09-11Shuffle the code in ssl3_send_finished() to make it more logical/readable.jsing2-18/+14
ok beck@
2015-09-11Replace dtls1_send_finished() with ssl3_send_finished() - they're nowjsing8-96/+12
both essentially the same (in fact DTLS benefits from improvements previously made to the ssl3_send_finished() function). ok beck@
2015-09-11style(9), fix comments, wrap long lines and tweak whitespace.jsing2-62/+118
2015-09-11Convert dtls1_send_finished() and ssl3_send_finished() tojsing4-44/+20
ssl3_handshake_msg_start()/ssl3_handshake_msg_finish(). ok beck@
2015-09-11typoderaadt1-2/+2
2015-09-11Bring back the expansion-into-.byte-sequences routines removed in r1.9, butmiod2-24/+134
only define them if not building for the "openbsd" flavour. This way, non-obfuscated output can still be generated for analysis, by using the "openbsd" flavour (which OpenBSD HEAD will do), and obfuscated output, compatible with older as(1), will be generated for other platforms. The portable version of LibreSSL can then use "openbsd-portable" as the flavour for OpenBSD/amd64 so that generated files can be compiled with OpenBSD 5.7 and other older versions stuck with as(1) 2.15.
2015-09-11Put the *method* data structures and functions in the same place.jsing4-155/+122
We can also now nuke ssl23_get_method() since it is the same as tls1_get_method(). And the empty file can bite the dust. ok bcook@ miod@
2015-09-11Pass "openbsd" instead of "openbsd-elf" as the "flavour" to the perl assemblermiod2-4/+4
machinery. OpenBSD has never been not ELF on amd64, and changing this will actually make -portable life slightly easier in the near future.
2015-09-11Put the *server_method* data structures and functions in the same place.jsing4-148/+122
We can also now nuke ssl23_get_server_method() since it is the same as tls1_get_server_method(). ok miod@
2015-09-11"Shutdown" should be "Shut down" in the usage for s_time's -no_shutdownlteo1-2/+2
flag. Pointed out by jmc@'s commit to the openssl(1) man page.