From 1ec225f5ba010155662f527e3b136a5ef34b28da Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Thu, 21 Jan 2021 22:14:26 +0100 Subject: [PATCH] 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. --- Userland/Libraries/LibCrypto/ASN1/PEM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibCrypto/ASN1/PEM.h b/Userland/Libraries/LibCrypto/ASN1/PEM.h index b304d621f6..bc9e4f5289 100644 --- a/Userland/Libraries/LibCrypto/ASN1/PEM.h +++ b/Userland/Libraries/LibCrypto/ASN1/PEM.h @@ -32,7 +32,7 @@ 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 start_at { 0 };