You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
-Made editor support SSL certs by default (embedded them)
-Made asset sharing support https -Many fixes to HTTPRequest -Added an asset installer dialog -Visual cleanups to asset sharing tab -Fixed some issues in ScrollContainer, hope it does not break things -Asset sharing tab is not visible (hidden on purpose) for now.
This commit is contained in:
21
tools/editor/editor_initialize_ssl.cpp
Normal file
21
tools/editor/editor_initialize_ssl.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "editor_initialize_ssl.h"
|
||||
#include "certs_compressed.h"
|
||||
#include "io/stream_peer_ssl.h"
|
||||
#include "io/compression.h"
|
||||
|
||||
void editor_initialize_certificates() {
|
||||
|
||||
|
||||
ByteArray data;
|
||||
data.resize(_certs_uncompressed_size);
|
||||
{
|
||||
ByteArray::Write w = data.write();
|
||||
Compression::decompress(w.ptr(),_certs_uncompressed_size,_certs_compressed,_certs_compressed_size,Compression::MODE_DEFLATE);
|
||||
}
|
||||
|
||||
StreamPeerSSL::load_certs_from_memory(data);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user