From 0c1260402b1ede3903c721dcd86f96d56a8292fb Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 17 Dec 2022 21:59:39 +0000 Subject: Prepare to provide UI_null() xmlsec needs this, nothing else. Our linkers link libxmlsec1-openssl, only warns and since nothing uses this library in ports, this wasn't noticed for a long time. Reported by Thomas Mitterfellner ok jsing --- src/lib/libcrypto/ui/ui_null.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/lib/libcrypto/ui/ui_null.c (limited to 'src/lib/libcrypto/ui/ui_null.c') diff --git a/src/lib/libcrypto/ui/ui_null.c b/src/lib/libcrypto/ui/ui_null.c new file mode 100644 index 0000000000..7bb7a90b2f --- /dev/null +++ b/src/lib/libcrypto/ui/ui_null.c @@ -0,0 +1,18 @@ +/* $OpenBSD: ui_null.c,v 1.1 2022/12/17 21:59:39 tb Exp $ */ + +/* + * Written by Theo Buehler. Public domain. + */ + +#include "ui_local.h" + +static const UI_METHOD ui_null = { + .name = "OpenSSL NULL UI", +}; + +const UI_METHOD * +UI_null(void) +{ + return &ui_null; +} +LCRYPTO_ALIAS(UI_null) -- cgit v1.2.3-55-g6feb