[PATCH 13/24] CryptoPkg/BaseCryptLib: add more bio print dummies


Gerd Hoffmann
 

openssl 3.0 has two more BIO_*print*() variants, add them.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
index 42235ab96ac3..07b73fae7e6f 100644
--- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
+++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
@@ -392,11 +392,21 @@ int BIO_printf (void *bio, const char *format, ...)
return 0;
}

+int BIO_vprintf(void *bio, const char *format, va_list args)
+{
+ return 0;
+}
+
int BIO_snprintf(char *buf, size_t n, const char *format, ...)
{
return 0;
}

+int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
+{
+ return 0;
+}
+
#ifdef __GNUC__

typedef
--
2.33.1