Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Prepare to provide EC_GROUP_order_bits() | tb | 2021-09-08 | 11 | -18/+45 | |
| | | | | ok jsing | |||||
* | Provide SSL_SESSION_is_resumable and SSL_set_psk_use_session_callback stubs | tb | 2021-09-08 | 3 | -3/+24 | |
| | | | | ok jsing | |||||
* | Prepare to provide API stubs for PHA | tb | 2021-09-08 | 2 | -2/+27 | |
| | | | | ok bcook jsing | |||||
* | Fix leak in cms_RecipientInfo_kekri_decrypt() | tb | 2021-09-08 | 1 | -1/+2 | |
| | | | | | | | | Free ec->key before reassigning it. From OpenSSL 1.1.1, 58e1e397 ok inoguchi | |||||
* | Prepare to provide SSL_get_tlsext_status_type() | tb | 2021-09-08 | 3 | -3/+20 | |
| | | | | | | Needed for nginx-lua to build with opaque SSL. ok inoguchi jsing | |||||
* | Prepare to provide SSL_set0_rbio() | tb | 2021-09-08 | 2 | -2/+12 | |
| | | | | | | | This is needed for telephony/coturn and telephony/resiprocate to compile without opaque SSL. ok inoguchi jsing | |||||
* | Prepare to provide BN_bn2{,le}binpad() and BN_lebin2bn() | tb | 2021-09-08 | 2 | -9/+137 | |
| | | | | | | | | | As found by jsg and patrick, this is needed for newer uboot and will also be used in upcoming elliptic curve work. This is from OpenSSL 1.1.1l with minor style tweaks. ok beck inoguchi | |||||
* | Replace bare ; with continue; | job | 2021-09-08 | 1 | -7/+7 | |
| | | | | OK tb@ | |||||
* | Fix indentation of comments and labels | job | 2021-09-08 | 2 | -165/+167 | |
| | | | | OK tb@ | |||||
* | Replace (&(x)) pattern with &x | job | 2021-09-07 | 2 | -32/+32 | |
| | | | | | | No functional changes. OK tb@ | |||||
* | KNF | job | 2021-09-07 | 2 | -1478/+1548 | |
| | | | | OK tb@ jsing@ beck@ | |||||
* | The default Ruby has switched to 3.0 | tb | 2021-09-06 | 1 | -2/+2 | |
| | ||||||
* | new sentence, new line, and tweak wording of previous; | jmc | 2021-09-05 | 1 | -2/+3 | |
| | ||||||
* | Remove unused variable tmptm in do_body of openssl(1) ca | inoguchi | 2021-09-05 | 1 | -8/+2 | |
| | ||||||
* | Using serial number instead as subject if it is empty in openssl(1) ca | inoguchi | 2021-09-05 | 2 | -3/+36 | |
| | | | | | | | This allows multiple entries without a subject even if unique_subject == yes. Referred to OpenSSL commit 5af88441 and arranged for our codebase. ok tb@ | |||||
* | Check extensions before setting version to v3 | inoguchi | 2021-09-05 | 1 | -5/+10 | |
| | | | | | | Referred to OpenSSL commit 4881d849 and arranged for our codebase. comment and ok from tb@ | |||||
* | Use accessor method rather than direct X509 structure access | inoguchi | 2021-09-05 | 1 | -20/+10 | |
| | | | | | | Referred to OpenSSL commit a8d8e06b and arranged for our codebase. comment and ok from tb@ | |||||
* | Factor out the TLSv1.3 code that handles content from TLS records. | jsing | 2021-09-04 | 6 | -80/+238 | |
| | | | | | | | | | | | | Currently, the plaintext content from opened TLS records is handled via the rbuf code in the TLSv1.3 record layer. Factor this out and provide a separate struct tls_content, which knows how to track and manipulate the content. This makes the TLSv1.3 code cleaner, however it will also soon also be used to untangle parts of the legacy record layer. ok beck@ tb@ | |||||
* | Refactor ssl_update_cache. This now matches the logic used for TLS 1.3 | beck | 2021-09-04 | 1 | -22/+106 | |
| | | | | | | | in Openssl 1.1.1 for when to call the session callbacks. I believe it to also generates a lot less eye bleed, confirmed by tb@ ok jsing@ tb@ | |||||
* | Improve DTLS hello request handling code. | jsing | 2021-09-04 | 1 | -2/+8 | |
| | | | | | | | Rather than manually checking multiple bytes, actually parse the DTLS handshake message header, then check the values against what we parsed. ok inoguchi@ tb@ | |||||
* | Change dtls1_get_message_header() to take a CBS. | jsing | 2021-09-04 | 3 | -22/+21 | |
| | | | | | | The callers know the actual length and can initialise a CBS correctly. ok inoguchi@ tb@ | |||||
* | Improve DTLS record header parsing. | jsing | 2021-09-04 | 1 | -7/+7 | |
| | | | | | | | | Rather than pulling out the epoch and then six bytes of sequence number, pull out SSL3_SEQUENCE_SIZE for the sequence number, then pull the epoch off the start of the sequence number. ok inoguchi@ tb@ | |||||
* | Disable tests that don't work in bluhms regress framework. | mbuhl | 2021-09-04 | 1 | -1/+7 | |
| | ||||||
* | Add X509 Extensions for IP Addresses and AS Identifiers | job | 2021-09-03 | 1 | -1/+2 | |
| | | | | | | (subordinate code paths are include guarded) OK tb@ | |||||
* | * add the missing STANDARDS section as noticed by tb@ | schwarze | 2021-09-03 | 1 | -3/+20 | |
| | | | | | | * mention that the *optionp input string will be modified * clarify that the array of tokens is expected to be NULL-terminated OK millert@ tb@, and the first half of STANDARDS also OK jmc@ | |||||
* | Implement a -h option that allows specifying a target host that | tb | 2021-09-03 | 1 | -9/+13 | |
| | | | | will be passed to the test scripts. | |||||
* | Now that the issue is fixed, enable test-extensions.py | tb | 2021-09-03 | 1 | -6/+2 | |
| | ||||||
* | Use SSL3_HM_HEADER_LENGTH instead of the magic number 4. | jsing | 2021-09-03 | 1 | -13/+14 | |
| | | | | ok beck@ | |||||
* | Ensure that a server hello does not have trailing data. | jsing | 2021-09-03 | 1 | -1/+4 | |
| | | | | | | Found by tlsfuzzer. ok beck@ | |||||
* | Ensure that a client hello does not have trailing data. | jsing | 2021-09-03 | 1 | -1/+4 | |
| | | | | | | Found by tlsfuzzer. ok beck@ | |||||
* | Set message_size correctly when switching to the legacy stack. | jsing | 2021-09-03 | 1 | -2/+2 | |
| | | | | | | | | The message_size variable is not actually the handshake message size, rather the number of bytes contained within the handshake message, hence we have to subtract the length of the handshake message header. ok beck@ | |||||
* | Make Bob happy. | bluhm | 2021-09-03 | 1 | -1/+5 | |
| | ||||||
* | Call the callback on success in new verifier in a compatible way | beck | 2021-09-03 | 4 | -19/+56 | |
| | | | | | | | | | | | | | when we succeed with a chain, and ensure we do not call the callback twice when the caller doesn't expect it. A refactor of the end of the legacy verify code in x509_vfy is probably overdue, but this should be done based on a piece that works. the important bit here is this allows the perl regression tests in tree to pass. Changes the previously committed regress tests to test the success case callbacks to be known to pass. ok bluhm@ tb@ | |||||
* | Unroll ASN1_ITEM_ref() | job | 2021-09-02 | 1 | -1/+1 | |
| | | | | OK @tb | |||||
* | Change OPENSSL_strdup() to strdup() | job | 2021-09-02 | 1 | -1/+1 | |
| | | | | OK tb@ | |||||
* | Change OPENSSL_malloc to calloc() | job | 2021-09-02 | 1 | -1/+2 | |
| | | | | OK tb@ | |||||
* | Repair unrolling of static ASN1_ITEM IPAddrBlocks_it | job | 2021-09-02 | 1 | -0/+11 | |
| | | | | | | The conversion tool didn't handle 'static_ASN1_ITEM_TEMPLATE_END' OK tb@ | |||||
* | Make v3_addr and v3_asid extern const | job | 2021-09-02 | 1 | -2/+2 | |
| | | | | OK tb@ | |||||
* | Add err.h for X509error() and friends | job | 2021-09-02 | 2 | -0/+2 | |
| | | | | OK tb@ | |||||
* | Fix OPENSSL_assert() and assert() | job | 2021-09-02 | 2 | -35/+17 | |
| | | | | OK tb@ | |||||
* | Unroll ASN1_EX_TEMPLATE_TYPE IPAddrBlocks | job | 2021-09-02 | 1 | -4/+7 | |
| | | | | OK tb@ | |||||
* | Change the OPENSSL_strdup() to strdup() | job | 2021-09-02 | 1 | -3/+4 | |
| | | | | OK beck@ tb@ | |||||
* | Fix header file includes | job | 2021-09-02 | 2 | -8/+9 | |
| | | | | OK tb@ | |||||
* | Move the error put functions from X509V3err() to X509V3error() | job | 2021-09-02 | 2 | -52/+32 | |
| | | | | OK tb@ | |||||
* | Unroll ASN1_SEQUENCE() ASN1_CHOICE() ASN1_ITEM_TEMPLATE() | job | 2021-09-02 | 2 | -46/+218 | |
| | | | | OK jsing@ | |||||
* | Add -f to usage | tb | 2021-09-02 | 1 | -2/+2 | |
| | ||||||
* | OPENSSL_assert() is not appropriate in this context | job | 2021-09-02 | 1 | -2/+3 | |
| | | | | | | Feedback from tb@ OK tb@ | |||||
* | Replace ossl_assert()/assert() with OPENSSL_assert() | job | 2021-09-02 | 2 | -14/+14 | |
| | | | | OK tb@ | |||||
* | Enable vfork syscall test. Disable SIGSTOP test as it is masked until | mbuhl | 2021-09-02 | 5 | -6/+45 | |
| | | | | | exec/exit with vfork. OK bluhm@ | |||||
* | We need to allow for either a CERTIFICATE or CERTIFICATE_STATUS message | beck | 2021-09-02 | 1 | -2/+3 | |
| | | | | | | here or we break the handshake with BAD_MESSAGE ok tb@ |