1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 17:07:47 +00:00

LibCrypto: Make PEM.h able to stand alone

These headers should probably all be converted into proper functions of
LibCrypto, especially since we have shared objects.
This commit is contained in:
Ben Wiederhake 2021-01-21 22:14:26 +01:00 committed by Andreas Kling
parent 8e265b512a
commit 1ec225f5ba

View file

@ -32,7 +32,7 @@
namespace Crypto { namespace Crypto {
static ByteBuffer decode_pem(ReadonlyBytes data_in, size_t cert_index = 0) static inline ByteBuffer decode_pem(ReadonlyBytes data_in, size_t cert_index = 0)
{ {
size_t i { 0 }; size_t i { 0 };
size_t start_at { 0 }; size_t start_at { 0 };