e34307b8 | 18-May-2021 |
Dr. David von Oheimb |
find-doc-nits -c: Fix handling in case expected helpstr is not found Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://githu
find-doc-nits -c: Fix handling in case expected helpstr is not found Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15329)
show more ...
|
5bac37cb | 18-May-2021 |
Dr. David von Oheimb |
unix-Makefile.tmpl and ci.yml: Merge cmd-nits into doc-nits Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/ope
unix-Makefile.tmpl and ci.yml: Merge cmd-nits into doc-nits Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15329)
show more ...
|
cad4f3fa | 18-May-2021 |
Jake Cooke |
Add bounds checking to length returned by wcslen in wide_to_asc conversion to resolve integer overflow flaw Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@op
Add bounds checking to length returned by wcslen in wide_to_asc conversion to resolve integer overflow flaw Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15316)
show more ...
|
bf991b25 | 17-May-2021 |
Richard Levitte |
Make sure to include "crypto/ctype.h" to get ossl_isdigit() Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15319) |
d2f53212 | 17-May-2021 |
Richard Levitte |
Make sure to include "internal/numbers.h" to get SIZE_MAX Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15319) |
857cbe17 | 17-May-2021 |
Richard Levitte |
Fix crypto/bio/b_sock.c for VMS Current VMS C-RTL does not have <sys/select.h>. <sys/socket.h> is a good enough replacement to get fd_set. Reviewed-by: Paul Dale <pauli@openssl
Fix crypto/bio/b_sock.c for VMS Current VMS C-RTL does not have <sys/select.h>. <sys/socket.h> is a good enough replacement to get fd_set. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15319)
show more ...
|
fea55908 | 17-May-2021 |
Richard Levitte |
Fix include/internal/sockets.h for VMS It needs to include <openssl/opensslconf.h> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pul
Fix include/internal/sockets.h for VMS It needs to include <openssl/opensslconf.h> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15319)
show more ...
|
ac2aa13a | 17-May-2021 |
Richard Levitte |
Fix include/openssl/e_os2.h for VMS It would try to define OPENSSL_SYS_VMS if that macro is defined. That's just not right. Reviewed-by: Paul Dale <pauli@openssl.org> (Merge
Fix include/openssl/e_os2.h for VMS It would try to define OPENSSL_SYS_VMS if that macro is defined. That's just not right. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15319)
show more ...
|
bba402ec | 18-May-2021 |
Richard Levitte |
Tweak apps/build.info for VMS A bit of quoting is all that's needed, and it doesn't hurt other platforms. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.c
Tweak apps/build.info for VMS A bit of quoting is all that's needed, and it doesn't hurt other platforms. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
31be74d3 | 17-May-2021 |
Richard Levitte |
VMS need to build DSO with name shortening, because of provider code We have pretty long symbol names, so they need to be shortened to fit in the linker's 31 character limit on symbols.
VMS need to build DSO with name shortening, because of provider code We have pretty long symbol names, so they need to be shortened to fit in the linker's 31 character limit on symbols. Symbol name shortening with the VMS C compiler works in such a way that a symbol name that's longer than 31 characters is mangled into its first original 22 characters, followed by a dollar sign and the 32-bit CRC of the original symbol name in hexadecimal. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
8ba3a158 | 17-May-2021 |
Richard Levitte |
Configurations/descrip.mms.tmpl: Add another inclusion hack crypto/ec/curve448/ has a series of inclusions that throws VMS C off, so we compensate for it the same way as we have done bef
Configurations/descrip.mms.tmpl: Add another inclusion hack crypto/ec/curve448/ has a series of inclusions that throws VMS C off, so we compensate for it the same way as we have done before. Fixes #14247 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
0cbb6f6a | 17-May-2021 |
Richard Levitte |
Configurations/descrip.mms.tmpl: Change strategy for include directories Instead of what we used to do, put all include directories in a number of DCL variables and generate the /INCLUDE
Configurations/descrip.mms.tmpl: Change strategy for include directories Instead of what we used to do, put all include directories in a number of DCL variables and generate the /INCLUDE qualifier value on the command line, we instead generate VMS C specific header files with include directory pragmas, to be used with the VMS C's /FIRST_INCLUDE qualifier. This also shortens the command line, the size of which is limited. VMS C needs to have those include directories specified in a Unix form, to be able to safely merge #include paths with them when searching through them. Fixes #14247 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
cfc73c23 | 17-May-2021 |
Richard Levitte |
Thrown away all special descrip.mms variables Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317) |
0c1428f4 | 17-May-2021 |
Richard Levitte |
Fix configdata.pm.in's "use lib" for VMS `use lib` needs Unix formatted paths. For VMS, it means that we must make sure to convert paths, and we may as well generalise it. In t
Fix configdata.pm.in's "use lib" for VMS `use lib` needs Unix formatted paths. For VMS, it means that we must make sure to convert paths, and we may as well generalise it. In this case, we need to adapt the functions sourcedir() and sourcefile() Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
a1181fbd | 17-May-2021 |
Richard Levitte |
Fix The VMS variant of platform->staticname() It was looking in the wrong place in %unified_info to determine if the library would be installed or not. Reviewed-by: Tim Hudson <
Fix The VMS variant of platform->staticname() It was looking in the wrong place in %unified_info to determine if the library would be installed or not. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
a2625c0f | 17-May-2021 |
Richard Levitte |
Fix OpenSSL::fallback for VMS VMS unpackers will typically convert any period ('.') in directory names to underscores, since the period is a path separator on VMS, just like '/' is a
Fix OpenSSL::fallback for VMS VMS unpackers will typically convert any period ('.') in directory names to underscores, since the period is a path separator on VMS, just like '/' is a path separator on Unix. Our fallback mechanism needs to account for that. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
22119050 | 17-May-2021 |
Richard Levitte |
Configurations/descrip.mms.tmpl: Diverse updates Get it back in sync with the other templates, and correct a few syntax errors that have crept in. Fixes #14247 Reviewed
Configurations/descrip.mms.tmpl: Diverse updates Get it back in sync with the other templates, and correct a few syntax errors that have crept in. Fixes #14247 Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
58ad786a | 17-May-2021 |
Richard Levitte |
Turn off VMS C's info about unsupported pragmas VMS C can be notoriously informative about certain things, such as unsupported pragmas. The case here is that it doesn't support "#pr
Turn off VMS C's info about unsupported pragmas VMS C can be notoriously informative about certain things, such as unsupported pragmas. The case here is that it doesn't support "#pragma once", and since we use those quite a lot, that's a lot of repeated information. We simply turn that warning off. Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15317)
show more ...
|
2660b7cf | 17-May-2021 |
Richard Levitte |
Rework how a build file (Makefile, ...) is produced The memory footprint of how we produced the Makefile was quite... important, because we have all the processing in one perl snippet, a
Rework how a build file (Makefile, ...) is produced The memory footprint of how we produced the Makefile was quite... important, because we have all the processing in one perl snippet, and generate the details of the build file by appending to the "magic" variable $OUT. The result is that this variable gets to hold the majority of the build file text, and depending on memory reallocation strategies for strings, the heap may hold multiple (possibly not just a few) copies of this string, almost all of them "freed" but still taking up space. This has resulted in memory exhaustion. We therefore change strategy, and generate the build file in two phases, where the first phase generates the full template using small perl snippets for each detail, and the second phase processes this template. This is much kinder to process memory. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15310)
show more ...
|
da51dc5f | 17-May-2021 |
Richard Levitte |
Move some OpenSSL perl utility functions to OpenSSL::Util quotify1() and quotify_l() were in OpenSSL::Template, but should be more widely usable. configdata.pm.in's out_item() i
Move some OpenSSL perl utility functions to OpenSSL::Util quotify1() and quotify_l() were in OpenSSL::Template, but should be more widely usable. configdata.pm.in's out_item() is also more widely useful and is therefore moved to OpenSSL::Util as well, and renamed to dump_data(). Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15310)
show more ...
|
8a734d3a | 03-May-2021 |
Dr. David von Oheimb |
CMS_get0_SignerInfos(): Prevent spurious error on cms_get0_signed() failure Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12959) |
1b96cc70 | 28-Sep-2020 |
Dr. David von Oheimb |
apps/cms.c: Simplify make_receipt_request() and load_content_info(() Also improve adherence to code formatting rules. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from ht
apps/cms.c: Simplify make_receipt_request() and load_content_info(() Also improve adherence to code formatting rules. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12959)
show more ...
|
6b83d032 | 23-Sep-2020 |
Dr. David von Oheimb |
apps/cms.c: Make -sign and -verify handle binary input Fixes #8940 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12959) |
7c701c59 | 23-Sep-2020 |
Dr. David von Oheimb |
Make SMIME_read_CMS_ex() and SMIME_read_ASN1_ex() support binary input Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12959) |
18423879 | 23-Sep-2020 |
Dr. David von Oheimb |
bio_lib: Add BIO_get_line, correct doc of BIO_gets Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12959) |