summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/merge.c (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2015-09-11Put the *client_method* data structures and functions in the same place.jsing4-148/+122
We can also now nuke ssl23_get_client_method() since it is the same as tls1_get_client_method(). ok bcook@ miod@
2015-09-11Remove engine command and parameters from openssl(1).bcook40-1726/+184
We do not have any builtin or dynamic engines, meaning openssl(1) has no way to use the engine command or parameters at all. ok jsing@
2015-09-11more for NAME;jmc1-1/+4
2015-09-11more cleanup;jmc1-16/+15
2015-09-11update NAME; various cleanupjmc1-20/+20
2015-09-11document tls_get_peer_subject, tls_get_peer_issuer, and tls_get_peer_hashbeck2-3/+58
ok jsing@
2015-09-11!= -> == that I broke while bikesheddingbeck1-2/+2
2015-09-11Do not match a wildcard against a name with no host part.beck1-1/+4
ok jsing@
2015-09-11regress test that we do not allow a wildcard match for ".openbsd.org"beck1-1/+6
against a wildcard of "*.openbsd.org"
2015-09-11fix verify to allow for servername->namebeck1-25/+25
ok jsing@
2015-09-11add tls_peer functions for checking names and issuers of peer certificates.beck7-13/+95
ok jsing@
2015-09-11Fixup inter-bank movq/movd operations, emit bytes for pclmulqdq again.bcook6-26/+54
Fixes builds gcc + Apple's assembler, working on reenabling builds with older OpenBSD releases. based on OpenSSL commit: https://git.openssl.org/?p=openssl.git;a=commitdiff;h=902b30df193afc3417a96ba72a81ed390bd50de3 ok miod@
2015-09-11unify files furtherderaadt20-122/+122
2015-09-11Provide tls_peer_cert_hash() which returns a hash of the raw certificatejsing3-2/+92
that was presented by the peer. The hash used is currently SHA256, however since we prefix the result with the hash name, we can change this in the future as the need arises. The same output can be generated by using: h=$(openssl x509 -outform der -in mycert.crt | sha256) printf "SHA256:${h}\n" ok beck@
2015-09-11_getnetbyaddr and _getnetbyname appear to be historical accidents inderaadt3-103/+2
our tree. ok guenther miod
2015-09-11remove stupid castsderaadt1-4/+4
2015-09-11Store a reference to the peer certificate (if any) upon completion of thejsing2-2/+8
handshake. Free the reference when we reset the TLS context. ok beck@
2015-09-11Wrap blowfish, sha*, md5, and rmd160 so that internal calls go directguenther2-2/+24
ok deraadt@
2015-09-11specify what is permitted as an argument to tls_config_set_ciphers()beck1-1/+11
2015-09-11actually set return value to 0 on success.beck1-1/+2
ok jsing@ who wears the cone of shame.
2015-09-11- add some missing NAME entriesjmc1-6/+8
- zap trailing whitespace - avoid "can not"