[edk2-devel] [PATCH 13/24] CryptoPkg/BaseCryptLib: add more bio print dummies
Gerd Hoffmann
kraxel at redhat.com
Fri Dec 3 16:07:37 UTC 2021
openssl 3.0 has two more BIO_*print*() variants, add them.
Signed-off-by: Gerd Hoffmann <kraxel at 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
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84316): https://edk2.groups.io/g/devel/message/84316
Mute This Topic: https://groups.io/mt/87479969/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list