godot/modules
Fabio Alessandrelli 60687ce778 Fix certificate generation with mbedtls 2.16.8 .
When generating certificates with
`Crypto.generate_self_signed_certificate` we generate the PEM in a
buffer via `mbedtls_x509write_crt_pem`.

Since version 2.16.8, mbedtls adds spurious data at the end of the
buffer due to internal optimizations, this breaks our logic when we try
to immediately parse it and return a proper `X509Certificate` object.

This commit updates the code to find the actual PEM length to parse
using `strlen`, takes extra caution always adding the terminator to the
buffer, and slightly improve error messages.
2020-09-15 18:47:51 +02:00
..
arkit Fix header guards in modules: 2020-09-06 16:13:59 +01:00
assimp Fix regression in FBX import caused by Skeleton3D 2020-08-25 01:17:39 -07:00
basis_universal Fix header guards in modules: 2020-09-06 16:13:59 +01:00
bmp Add more error explanations in the BMP image loader 2020-08-18 19:41:40 +02:00
bullet Fix RigidBodyBullet areasWhereIam element shift. 2020-09-14 18:43:21 +01:00
camera Fix header guards in modules: 2020-09-06 16:13:59 +01:00
csg Merge pull request #40993 from Calinou/doc-collision-layer-mask 2020-08-31 15:32:44 +02:00
cvtt Ensure header guards enclose entire header. 2020-09-03 11:29:42 +01:00
dds DDS: Fix loading files without DDSD_CAPS or DDSD_PIXELFORMAT 2020-06-15 13:10:24 +02:00
denoise Remove unused Python imports. 2020-09-10 11:38:52 +01:00
enet Add link titles for all links in the class reference 2020-08-31 14:22:07 +02:00
etc Style: Fix code format scripts compat with non-GNU Unices 2020-07-27 13:11:44 +02:00
freetype SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
gdnative Move GDNative `String` tests to respective module 2020-09-11 14:51:38 +03:00
gdnavigation Add override keywords. 2020-07-10 13:56:54 +01:00
gdscript Several documentation improvements 2020-09-14 20:02:19 +03:00
glslang Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
gridmap Merge pull request #40993 from Calinou/doc-collision-layer-mask 2020-08-31 15:32:44 +02:00
hdr Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
jpg Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
jsonrpc Improve jsonrpc error reporting 2020-05-15 23:55:41 +02:00
lightmapper_rd Add override keywords. 2020-07-10 13:56:54 +01:00
mbedtls Fix certificate generation with mbedtls 2.16.8 . 2020-09-15 18:47:51 +02:00
mobile_vr Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
mono Add mono log message to error for fatal errors 2020-09-13 19:53:06 -06:00
ogg SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
opensimplex Add override keywords. 2020-07-10 13:56:54 +01:00
opus [macOS] Add support for the Apple Silicon (ARM64) build target. 2020-06-29 12:33:51 +03:00
pvr Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
regex [Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms. 2020-09-03 19:56:24 +03:00
squish Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
stb_vorbis stb_vorbis: Increase max alloc buffer size for big Vorbis comments 2020-09-09 20:50:41 +02:00
svg Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
tga Expose loading TGA images in Image. 2020-05-21 16:02:53 +02:00
theora Add override keywords. 2020-07-10 13:56:54 +01:00
tinyexr Make EXR import format support all depths and channel configurations 2020-09-09 16:51:32 -03:00
upnp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
vhacd Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
visual_script Add main_gutter (breakpoints, bookmarks, execution lines) to code_edit 2020-09-10 20:35:28 +01:00
vorbis SCons: Validate dependencies for linked multimedia modules 2020-06-03 11:00:10 +02:00
webm Add override keywords. 2020-07-10 13:56:54 +01:00
webp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
webrtc Merge pull request #41875 from nekomatata/webrtc-doc-turn-server 2020-09-08 13:37:23 +02:00
websocket Add override keywords. 2020-07-10 13:56:54 +01:00
xatlas_unwrap xatlas: Sync with upstream 470576d 2020-05-20 13:51:15 +02:00
SCsub SCons: Refactor running commands through builders 2020-07-28 00:09:21 +03:00
modules_builders.py Enable support for C++ modules tests 2020-07-26 17:41:46 +03:00
register_module_types.h Moved the shader source compilation code outside RenderingDevice and Vulkan 2020-02-11 11:53:29 +01:00