1
0
Fork 0
mirror of https://github.com/openssl/openssl.git synced 2026-12-03 16:10:33 +00:00
TLS/SSL and crypto library
  • C 74.6%
  • Perl 12%
  • Raku 10%
  • Prolog 0.9%
  • Go Template 0.7%
  • Other 1.7%
Find a file
Alexandr Nedvedicky 6bc31a9f24 quicapitest: failed handshake makes test quic server stuck
currently the server thread assumes the execution can
alwasy make a progres and is willing to keep the thread
running indefinitely.

This change allows tick_server() function to indicate
failure so the server loop can break out of the infinite loop.

The author of the fix is Mounir Idrassi.

Fixes: 33338
Assisted-by: Codex:gpt-6-astra
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Andrew Dinh <andrewd@openssl.org>
Reviewed-by: Mounir Idrassi <mounir.idrassi@idrix.fr>
Merge-date: Thu Dec  3 10:18:13 2026
Merged-from: https://github.com/openssl/openssl/pull/33947
2026-12-03 11:17:49 +01:00
.ctags.d Copyright year updates 2026-03-10 14:37:52 +00:00
.github .github: install Ninja and NASM via composite actions in ninja.yml 2026-12-03 10:44:03 +01:00
apps apps/passwd.c: fail when the password hash cannot be computed 2026-11-25 17:12:06 +01:00
cloudflare-quiche@7ab6a55cfe Update Cloudflare Quiche to fix a build issue 2023-08-29 14:51:33 +02:00
Configurations Configurations/10-main.conf: disable MSVC incremental linking 2026-12-02 08:06:10 +01:00
crypto pkcs7: free propq when freed by ASN.1 template 2026-12-02 07:18:45 +01:00
crypto-auditing@e9004d5636 test: add external test for crypto-auditing 2026-11-21 15:47:58 +01:00
demos demos: fix sslecho receive buffer boundary handling 2026-11-20 18:49:46 +01:00
dev Point to new docs location 2025-04-15 15:56:16 +01:00
doc Perform PKEY dirty_cnt updates under a write lock. 2026-11-25 19:50:33 +11:00
exporters exporters/cmake: find the prefix when reached through a symlinked dir 2026-12-02 10:59:48 +01:00
external/perl Updated broken documentation links in various files 2026-04-03 17:17:33 +02:00
fuzz Corrected Blowfish CBC OID number, fixes issue #25289 2026-11-24 10:10:15 +11:00
gost-engine@74b1f4fddb update to latest version of gost-engine 2025-04-09 14:04:09 -04:00
include Add missing doxygen blocks reported by check-doc-comments 2026-11-27 13:56:01 +01:00
krb5@f5bee90a50 test_external_krb5: update krb5 submodule to 1.22.3 2026-11-17 16:07:08 +01:00
ms Copyright year updates 2026-09-09 13:12:46 +00:00
oqs-provider@c5fb439e4f Update oqs-provider to current, which support opaque asn1 strings 2026-02-25 11:13:16 +01:00
os-dep Add an Apple privacy info file for OpenSSL 2024-04-26 14:01:36 +02:00
pkcs11-provider@b55b94344a pkcs11-provider: update to v1.3.0 2026-11-04 11:48:38 +01:00
providers Argon2: fail the derivation when a BLAKE2b step fails 2026-12-02 11:00:28 +04:00
pyca-cryptography@e83bbe58e3 Update pyca-cryptography submodule to 51.0.0-dev1 2026-09-08 19:03:05 +02:00
python-ecdsa@4096fa0171 update tlsfuzzer to new version 2024-10-21 11:40:16 +01:00
ssl ssl: fix use after free of cached SSL_CTX after callbacks 2026-12-02 19:57:26 +11:00
test quicapitest: failed handshake makes test quic server stuck 2026-12-03 11:17:49 +01:00
tlsfuzzer@61f45d9701 update tlsfuzzer to new version 2024-10-21 11:40:16 +01:00
tlslite-ng@77ef321dde update tlsfuzzer to new version 2024-10-21 11:40:16 +01:00
util Raise the minimum Perl version to 5.26.0 2026-12-02 11:07:39 +01:00
VMS Copyright year updates 2026-09-09 13:12:46 +00:00
wycheproof@3fa63dd034 Update pyca-cryptography and wycheproof submodules 2026-09-07 20:23:40 +02:00
.clang-format Add intrusive queues and hash tables, replacing ossl_ht 2026-11-23 17:54:39 +01:00
.codespellrc Update the DTLS 1.3 documentation to match the final implementation 2026-08-25 12:41:25 +01:00
.git-blame-ignore-revs add 4.0 clang-format diff to .git-blame-ignore-revs 2025-12-09 01:38:27 -07:00
.gitattributes CI: retry environment steps before failing the job 2026-10-21 19:07:49 +02:00
.gitignore evp: use fast path parameter decoding 2026-12-01 17:51:33 +01:00
.gitmodules test: add external test for crypto-auditing 2026-11-21 15:47:58 +01:00
.pre-commit-config.yaml Make a doc comments checker to enforce DOCUMENTATION.md 2026-11-02 12:44:28 +04:00
ACKNOWLEDGEMENTS.md Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
AUTHORS.md EVP_DecodeUpdate() should not produce padding zeros to the decoded output (Fixes #26677) 2025-02-27 17:38:57 +00:00
build.info evp: use fast path parameter decoding 2026-12-01 17:51:33 +01:00
CHANGES.md Document the raised minimum Perl version 2026-12-02 11:07:39 +01:00
CODE-OF-CONDUCT.md Add CODE-OF-CONDUCT.md 2022-08-18 16:32:23 +02:00
config config: Turn into a simple wrapper 2020-06-28 18:34:36 +02:00
config.com Update copyright year 2020-07-16 14:47:04 +02:00
configdata.pm.in apps/include: rename "configuration.h(.in)" to "app_conf.h(.in)" 2026-11-20 11:13:25 +01:00
Configure Raise the minimum Perl version to 5.26.0 2026-12-02 11:07:39 +01:00
CONTRIBUTING.md CONTRIBUTING.md: turn list-shaped paragraphs into actual lists 2026-11-04 17:47:15 +01:00
DOCUMENTATION.md Change the Doxygen doc requirement for non public functions 2026-07-10 11:37:03 -04:00
funding.json Fix a funding.json error 2025-01-07 17:18:36 +00:00
HOWTO.md HOWTO.md: fix links 2026-11-11 20:18:28 +01:00
INSTALL.md Add Ninja build file generation support 2026-11-23 18:00:14 +01:00
LICENSE.txt Rename NOTES*, README*, VERSION, HACKING, LICENSE to .md or .txt 2020-07-05 11:29:43 +02:00
NEWS.md Add CHANGES.md and NEWS.md entries for multi-key derivation 2026-11-18 13:10:39 +01:00
NOTES-ANDROID.md NOTES-ANDROID.md: add a note on 16 KiB page size for older OpenSSL versions 2026-10-05 12:13:36 +02:00
NOTES-C99.md apps/dgst: avoid EXIT_* helper returns and format changes 2026-06-15 16:32:25 +02:00
NOTES-DJGPP.md Unify the markdown links to the NOTES and README files 2021-02-12 20:41:32 +01:00
NOTES-NONSTOP.md NOTES-NONSTOP.md: remove the "Linking and Loading Considerations" section 2026-04-14 10:50:31 +02:00
NOTES-PERL.md Document the raised minimum Perl version 2026-12-02 11:07:39 +01:00
NOTES-POSIX.md Add installation documentation and notes on ANSI C and POSIX 2024-05-22 09:59:32 +02:00
NOTES-SANITIZERS.md doc: Add NOTES-SANITIZERS.md for sanitizer-based testing 2026-08-18 10:11:19 +02:00
NOTES-UNIX.md Fixed some grammar and spelling 2022-10-09 17:40:29 +02:00
NOTES-VALGRIND.md Update NOTES-VALGRIND.md to document valgrind compaints on reachable 2026-02-11 14:40:48 -05:00
NOTES-VMS.md Add information on the 'ias' port for OpenVMS 2023-05-19 10:02:04 +10:00
NOTES-WINDOWS.md Add windows arm64 hybridcrt config 2026-09-23 11:28:45 +02:00
README-FIPS.md README-FIPS.md: change the example version from 3.6.x to 4.1.x 2026-11-25 21:45:03 +01:00
README-PROVIDERS.md Point to new docs location 2025-04-15 15:56:16 +01:00
README-QUIC.md Fix typos and whitespace 2025-08-30 09:38:01 -04:00
README.md README.md: remove OpenSSL documentation link for OpenSSL 3.6 2026-11-25 21:45:03 +01:00
REVIEW.md REVIEW.md: fix contradictions and wrong conventions in review rules 2026-11-13 10:25:26 +04:00
STYLE.md Say that comments state facts about the present code 2026-10-02 10:05:59 +02:00
SUPPORT.md Fix Markdown links in SUPPORT.md 2021-12-08 15:09:36 +11:00
VERSION.dat Prepare for 4.2 2026-09-09 13:15:06 +00:00

Welcome to the OpenSSL Project

openssl logo

github actions ci badge Nightly OS Zoo ci badge Provider Compatibility Quic Interop Daily checks LFX Health Score

OpenSSL is a robust, commercial-grade, full-featured Open Source Toolkit for the Transport Layer Security (TLS, formerly SSL), Datagram TLS (DTLS), and QUIC protocols.

The protocol implementations are based on a full-strength general purpose cryptographic library, which can also be used stand-alone. Also included is a cryptographic module validated to conform with FIPS standards.

OpenSSL is descended from the SSLeay library developed by Eric A. Young and Tim J. Hudson.

The official Home Page of the OpenSSL Project is www.openssl.org.

Table of Contents

Overview

The OpenSSL toolkit includes:

  • libssl an implementation of all TLS protocol versions up to TLSv1.3 (RFC 8446), DTLS protocol versions up to DTLSv1.3 (RFC 9147) and the QUIC version 1 protocol (RFC 9000).

  • libcrypto a full-strength general purpose cryptographic library. It constitutes the basis of the TLS implementation, but can also be used independently.

  • openssl the OpenSSL command line tool, a Swiss Army knife for cryptographic tasks, testing and analyzing. It can be used for

    • creation of key parameters
    • creation of X.509 certificates, CSRs and CRLs
    • calculation of message digests
    • encryption and decryption
    • SSL/TLS/DTLS and client and server tests
    • QUIC client tests
    • handling of S/MIME signed or encrypted mail
    • and more...

Download

For Production Use

Source code tarballs of the official releases can be downloaded from openssl-library.org/source/. The OpenSSL project does not distribute the toolkit in binary form.

However, for a large variety of operating systems precompiled versions of the OpenSSL toolkit are available. In particular, on Linux and other Unix operating systems, it is normally recommended to link against the precompiled shared libraries provided by the distributor or vendor.

We also maintain a list of third parties that produce OpenSSL binaries for various Operating Systems (including Windows) on the Binaries page on our wiki.

For Testing and Development

Although testing and development could in theory also be done using the source tarballs, having a local copy of the git repository with the entire project history gives you much more insight into the code base.

The main OpenSSL Git repository is private. There is a public GitHub mirror of it at github.com/openssl/openssl, which is updated automatically from the former on every commit.

A local copy of the Git repository can be obtained by cloning it from the GitHub mirror using

git clone https://github.com/openssl/openssl.git

If you intend to contribute to OpenSSL, either to fix bugs or contribute new features, you need to fork the GitHub mirror and clone your public fork instead.

git clone https://github.com/yourname/openssl.git

This is necessary because all development of OpenSSL nowadays is done via GitHub pull requests. For more details, see Contributing.

Build and Install

After obtaining the Source, have a look at the INSTALL file for detailed instructions about building and installing OpenSSL. For some platforms, the installation instructions are amended by a platform specific document.

Specific notes on upgrading to OpenSSL 3.x from previous versions can be found in the ossl-guide-migration(7ossl) manual page.

Documentation

README Files

There are some README.md files in the top level of the source distribution containing additional information on specific topics.

The OpenSSL Guide

There are some tutorial and introductory pages on some important OpenSSL topics within the OpenSSL Guide.

Manual Pages

The manual pages for the master branch and all current stable releases are available online.

Demos

There are numerous source code demos for using various OpenSSL capabilities in the demos subfolder.

Wiki

There is a GitHub Wiki which is currently not very active.

License

OpenSSL is licensed under the Apache License 2.0, which means that you are free to get and use it for commercial and non-commercial purposes as long as you fulfill its conditions.

See the LICENSE.txt file for more details.

Support

There are various ways to get in touch. The correct channel depends on your requirement. See the SUPPORT file for more details.

Contributing

If you are interested and willing to contribute to the OpenSSL project, please take a look at the CONTRIBUTING file.

Legalities

A number of nations restrict the use or export of cryptography. If you are potentially subject to such restrictions, you should seek legal advice before attempting to develop or distribute cryptographic code.

Copyright

Copyright (c) 1998-2026 The OpenSSL Project Authors

Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson

All rights reserved.