edc8566f | 10-Dec-2021 |
Richard Levitte |
test/evp_extra_test.c: Add EVP_PKEY comparisons in test_EC_priv_pub() Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16765) |
5fbe15fd | 10-Dec-2021 |
Richard Levitte |
test/evp_extra_test.c: Refactor test_fromdata() test_fromdata() turns out to be a bit inflexible, so we split it into two functions, make_key_fromdata() and test_selection(), and adjust
test/evp_extra_test.c: Refactor test_fromdata() test_fromdata() turns out to be a bit inflexible, so we split it into two functions, make_key_fromdata() and test_selection(), and adjust test_EVP_PKEY_ffc_priv_pub() and test_EC_priv_pub() accordingly. This allows us to check the resulting keys further, not only to check that the bits we expect are there, but also that the bits that we expect not to be there to actually not be there! Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16765)
show more ...
|
e67254e4 | 29-Sep-2021 |
Richard Levitte |
Enhance the explanation of selector bits in provider-keymgmt(7) This uncovers what has been a mere comment in an attempt to clarify that the use of selector bits is very much at the disc
Enhance the explanation of selector bits in provider-keymgmt(7) This uncovers what has been a mere comment in an attempt to clarify that the use of selector bits is very much at the discretion of the provider implementation. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16765)
show more ...
|
ee22a374 | 29-Sep-2021 |
Richard Levitte |
Adapt our OSSL_FUNC_keymgmt_match() implementations to the EVP_PKEY_eq() fix The match function (called OSSL_FUNC_keymgmt_match() in our documentation) in our KEYMGMT implementations wer
Adapt our OSSL_FUNC_keymgmt_match() implementations to the EVP_PKEY_eq() fix The match function (called OSSL_FUNC_keymgmt_match() in our documentation) in our KEYMGMT implementations were interpretting the selector bits a bit too strictly, so they get a bit relaxed to make it reasonable to match diverse key contents. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16765)
show more ...
|
f3ba6265 | 29-Sep-2021 |
Richard Levitte |
Fix EVP_PKEY_eq() to be possible to use with strictly private keys EVP_PKEY_eq() assumed that an EVP_PKEY always has the public key component if it has a private key component. However,
Fix EVP_PKEY_eq() to be possible to use with strictly private keys EVP_PKEY_eq() assumed that an EVP_PKEY always has the public key component if it has a private key component. However, this assumption no longer strictly holds true, at least for provider backed keys. EVP_PKEY_eq() therefore needs to be modified to specify that the private key should be checked too (at the discretion of what's reasonable for the implementation doing the actual comparison). Fixes #16267 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16765)
show more ...
|
23effeb8 | 24-Nov-2021 |
Pauli |
Fix Coverity 1494385 logically dead code. Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/17123) |
391ce6d9 | 25-Nov-2021 |
Richard Levitte |
Fix faulty detail in BN_rand() manual Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1713
Fix faulty detail in BN_rand() manual Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17131)
show more ...
|
7a2ad00f | 06-Dec-2021 |
Richard Levitte |
Teach OpenSSL::ParseC about OPENSSL_EXPORT and OPENSSL_EXTERN Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://gith
Teach OpenSSL::ParseC about OPENSSL_EXPORT and OPENSSL_EXTERN Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17215)
show more ...
|
d977a26e | 06-Dec-2021 |
Richard Levitte |
Make OSSL_provider_init() OPENSSL_EXPORT, not just extern On non-Windows systems, there's no difference at all. On Windows systems, __declspec(dllexport) is added, which ensures it gets
Make OSSL_provider_init() OPENSSL_EXPORT, not just extern On non-Windows systems, there's no difference at all. On Windows systems, __declspec(dllexport) is added, which ensures it gets exported no matter what. Fixes #17203 Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17215)
show more ...
|
2e3b8292 | 08-Dec-2021 |
Tianjia Zhang |
apps/s_server: Correct s_server to return the correct file path When s_server responds to a file data with the -WWW parameter, it always gets a path named "GET". In this case, we need to
apps/s_server: Correct s_server to return the correct file path When s_server responds to a file data with the -WWW parameter, it always gets a path named "GET". In this case, we need to skip the "GET /" character to get the correct file path. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Reviewed-by: Paul Yang <kaishen.yy@antfin.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17231)
show more ...
|
c37ebbd6 | 08-Dec-2021 |
Tomas Mraz |
Windows CI: explicitly use windows-2019 instead of using windows-latest Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/17234) |
ecf60b9e | 01-Dec-2021 |
x2018 |
remove redundant ERR_raise Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from
remove redundant ERR_raise Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17175)
show more ...
|
318e9799 | 01-Dec-2021 |
x2018 |
check the return value of BIO_new() in t_x509.c:471 & cmp_vfy.c:36 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul D
check the return value of BIO_new() in t_x509.c:471 & cmp_vfy.c:36 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17175)
show more ...
|
44fde441 | 03-Dec-2021 |
Sam Eaton |
changes opensssl typos to openssl CLA: trivial Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com
changes opensssl typos to openssl CLA: trivial Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17191)
show more ...
|
f0fc3c10 | 08-Dec-2021 |
Pauli |
fix Coverity 1494649: dead code Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17230) |
83b424c3 | 07-Dec-2021 |
Dr. David von Oheimb |
APPS/cmp: Fix use of OPENSSL_NO_SOCK: options like -server do not make sense with no-sock Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull
APPS/cmp: Fix use of OPENSSL_NO_SOCK: options like -server do not make sense with no-sock Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17226)
show more ...
|
c50bf144 | 08-Dec-2021 |
Bernd Edlinger |
Minor code cleanup in o_names_init This might result in a small memory leak. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewe
Minor code cleanup in o_names_init This might result in a small memory leak. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17238)
show more ...
|
f0d5a3b6 | 29-Nov-2021 |
Dr. David von Oheimb |
OSSL_HTTP_get(): Fix timeout handling on redirection Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/op
OSSL_HTTP_get(): Fix timeout handling on redirection Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17190)
show more ...
|
a3ea35c2 | 07-Dec-2021 |
Dr. David von Oheimb |
CMP check_msg_find_cert(): improve diagnostics on transactionID mismatch On this occasion, make use of i2s_ASN1_OCTET_STRING() wherever possible Reviewed-by: Paul Dale <pauli@openss
CMP check_msg_find_cert(): improve diagnostics on transactionID mismatch On this occasion, make use of i2s_ASN1_OCTET_STRING() wherever possible Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17224)
show more ...
|
5adda344 | 07-Dec-2021 |
Dr. David von Oheimb |
80-test_cmp_http_data/test_commands.csv: fix minor glitch in column alignment Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17224) |
7ee0954a | 07-Dec-2021 |
Dr. David von Oheimb |
APPS/cmp: fix -rspin option such that it works again without -reqin Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17222) |
d580c279 | 07-Dec-2021 |
Dr. David von Oheimb |
OSSL_CMP_MSG_read(): Fix mem leak on file read error Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/op
OSSL_CMP_MSG_read(): Fix mem leak on file read error Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17225)
show more ...
|
f5485b97 | 20-Nov-2021 |
pkubaj |
Add support for BSD-ppc, BSD-ppc64 and BSD-ppc64le configurations OpenSSL assumes AT_HWCAP = 16 (as on Linux), but on FreeBSD AT_HWCAP = 25 Switch to using AT_HWCAP, and setting it to 16
Add support for BSD-ppc, BSD-ppc64 and BSD-ppc64le configurations OpenSSL assumes AT_HWCAP = 16 (as on Linux), but on FreeBSD AT_HWCAP = 25 Switch to using AT_HWCAP, and setting it to 16 if it is not defined. CLA: trivial Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17090)
show more ...
|
f4f77c2d | 07-Dec-2021 |
Gerd Hoffmann |
rename MIN() macro MIN is a rather generic name and results in a name clash when trying to port tianocore over to openssl 3.0. Use the usual ossl prefix and rename the macro to ossl
rename MIN() macro MIN is a rather generic name and results in a name clash when trying to port tianocore over to openssl 3.0. Use the usual ossl prefix and rename the macro to ossl_min() to solve this. CLA: trivial Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17219)
show more ...
|
684326d3 | 06-Dec-2021 |
Peiwei Hu |
bio_enc.c: add memory allocation check Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/172
bio_enc.c: add memory allocation check Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17206)
show more ...
|