summaryrefslogtreecommitdiff
path: root/src/lib/libc (unfollow)
Commit message (Expand)AuthorFilesLines
2017-03-25Update regress to match changes to tls1_PRF().jsing1-10/+10
2017-03-25More cleanup for tls1_PRF()/tls1_P_hash() - change the argument order ofjsing1-46/+50
2017-03-24add a helper function to print all pools #ifdef MALLOC_STATSotto1-1/+16
2017-03-24document new recallocarray diagnostic; zap a few diagnostics that shouldotto1-8/+9
2017-03-24move recallocarray to malloc.c andotto2-19/+207
2017-03-18Fewer magic numbers.jsing1-3/+3
2017-03-18t1_enc.cjsing1-3/+2
2017-03-18Update regress and remove temporary buffer to match changes in tls_PRF().jsing1-8/+4
2017-03-18Currently tls1_PRF() requires that a temporary buffer be provided, thatjsing1-50/+32
2017-03-17remove unneccessary macro;jmc1-2/+2
2017-03-17Strengthen description of recallocarray(3) behaviour, hoping that readersderaadt1-5/+10
2017-03-16Convert BUF_MEM_grow() and BUF_MEM_grow_clean() to recallocarray(),jsing1-13/+3
2017-03-16Use calloc() instead of malloc() followed by manually zeroing fields.jsing1-6/+3
2017-03-14copy /etc/services in test directoryeric1-1/+2
2017-03-10refresh the test infrastructure a bit.eric3-90/+93
2017-03-10Remove the handshake digests and related code, replacing remaining usesjsing7-166/+45
2017-03-10Switch CBB to use recallocarray() - this ensures that we do not leakjsing1-2/+2
2017-03-10First pass at cleaning up the tls1_P_hash() function - remove a pointlessjsing1-20/+19
2017-03-10Add a unit test for tls1_PRF().jsing2-1/+257
2017-03-10Make tls1_PRF() non-static so it can be regress tested.jsing1-2/+7
2017-03-09The netcat server did not print the correct TLS error message ifbluhm1-2/+2
2017-03-09remove bogus variable expansioneric2-4/+4
2017-03-09missing includeeric1-1/+2
2017-03-07Correctly handle TLS PRF with MD5+SHA1 - the secret has to be partitionedjsing1-5/+26
2017-03-07Add a test that covers a libtls client talking to a Go TLS server withjsing1-5/+107
2017-03-07Allow ciphers to be set on the TLS config.jsing1-0/+10
2017-03-07Provide support for libtls protocols and allow for protocols to be set onjsing1-3/+47
2017-03-07Add handling for errors on the TLS config and properly check/handlejsing2-6/+23
2017-03-07libtls errors are much more descriptive these days - return them directlyjsing1-9/+8
2017-03-07We no longer need to keep pointers following tls_config_set_*() calls.jsing1-6/+3
2017-03-07Some tweaks from jmc@ and describe better what recallocarray does;otto1-7/+16
2017-03-06Use an unsigned loop variable to avoid a comparison between signedbluhm1-1/+1
2017-03-06Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)otto3-7/+147
2017-03-06size is unsigned so using ==0 not <=0 when checking for buffer exhaustionmillert1-4/+4
2017-03-06Pull in a change from the bind 8 resolver that fixes a potentialmillert1-10/+16
2017-03-06Clean up and simplify the tls1_PRF() implementation now that we have ajsing1-48/+19
2017-03-05Correctly convert an SSLv2 challenge into an SSLv3/TLS client random byjsing1-9/+27
2017-03-05Provide a rolling handshake hash that commences as soon as the cipherjsing8-54/+193
2017-03-05Convert various handshake message generation functions to CBB.jsing4-56/+113
2017-03-05Add an initial regress test that covers the server-side of libssl, byjsing3-1/+220
2017-03-04Drop the second argument of dtls1_set_message_header() and make it a voidjsing3-13/+10
2017-03-04Call ssl3_handshake_write() instead of ssl3_do_write() - this was missedjsing1-2/+2
2017-03-04Treat "ERROR in STARTUP" as an actual error, rather than failing withoutjsing1-2/+2
2017-03-04Remove commented out code and fix indentation of surrounding statements.jsing1-12/+5
2017-03-04Remove handling for SSLv2.jsing1-14/+3
2017-03-03Ensure MD and key initialized before processing HMACinoguchi2-35/+224
2017-03-02fix error in Dt; from robert kleinjmc1-3/+3
2017-03-01Convert ssl3_{get,send}_server_key_exchange() to EVP_md5_sha1().jsing3-44/+29
2017-03-01Add EVP test for MD5-SHA1.jsing1-0/+3
2017-03-01Include EVP_md5_sha1() via OpenSSL_add_all_digests().jsing1-1/+2