diff options
author | tb <> | 2022-12-17 21:59:39 +0000 |
---|---|---|
committer | tb <> | 2022-12-17 21:59:39 +0000 |
commit | 0c1260402b1ede3903c721dcd86f96d56a8292fb (patch) | |
tree | 94d7cca4021be3e74c90760cd4b981f22107456f /src/lib/libcrypto/ui/ui_null.c | |
parent | 3badb2f37b0b6599d1adea20cfe176f262924ddc (diff) | |
download | openbsd-0c1260402b1ede3903c721dcd86f96d56a8292fb.tar.gz openbsd-0c1260402b1ede3903c721dcd86f96d56a8292fb.tar.bz2 openbsd-0c1260402b1ede3903c721dcd86f96d56a8292fb.zip |
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
Diffstat (limited to 'src/lib/libcrypto/ui/ui_null.c')
-rw-r--r-- | src/lib/libcrypto/ui/ui_null.c | 18 |
1 files changed, 18 insertions, 0 deletions
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 @@ | |||
1 | /* $OpenBSD: ui_null.c,v 1.1 2022/12/17 21:59:39 tb Exp $ */ | ||
2 | |||
3 | /* | ||
4 | * Written by Theo Buehler. Public domain. | ||
5 | */ | ||
6 | |||
7 | #include "ui_local.h" | ||
8 | |||
9 | static const UI_METHOD ui_null = { | ||
10 | .name = "OpenSSL NULL UI", | ||
11 | }; | ||
12 | |||
13 | const UI_METHOD * | ||
14 | UI_null(void) | ||
15 | { | ||
16 | return &ui_null; | ||
17 | } | ||
18 | LCRYPTO_ALIAS(UI_null) | ||