Skip to content

Commit 8f68fa9

Browse files
authored
Merge 47eedaf into b0b3898
2 parents b0b3898 + 47eedaf commit 8f68fa9

27 files changed

Lines changed: 741 additions & 95 deletions

NEWS.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ https://github.com/networkupstools/nut/milestone/12
104104
characters. Now it is evaluated at `configure` time (to check that the
105105
characters may be used), and if not -- during `nut_stdint.h` parsing to
106106
fit known `int`/`long`/`long long` types. [#3300]
107+
* Added new API methods and defined bitmap values for `libupsclient`
108+
C binding to query and report SSL capabilities of the current library
109+
build (none, OpenSSL, Mozilla NSS): `upscli_ssl_caps_descr()` and
110+
`upscli_ssl_caps()`. Updated common NUT clients to report this info
111+
in their detailed help banners. Done similarly for `upsd`. The NIT
112+
(NUT Integration Test) suite piggy-backs on this to add run-time
113+
dependent tests of SSL capability. [issues #3328, #1771]
107114

108115
- NUT for Windows specific updates:
109116
* Revised detection of (relative) paths to program and configuration files

UPGRADING.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ Changes from 2.8.4 to 2.8.5
9999
use `upsdrvquery_NOSIGPIPE=0` to disable neutering of the signal inside
100100
the API itself. [PR #3277]
101101
102+
- Added new API methods and defined bitmap values for `libupsclient` C binding
103+
to query and report SSL capabilities of the library build (none, OpenSSL,
104+
Mozilla NSS): `upscli_ssl_caps_descr()` and `upscli_ssl_caps()`. [PR #33xx]
105+
102106
- Fixed man page naming for `nutdrv_siemens-sitop(.8)` (dash vs. underscore)
103107
to match the driver program name. Packaging recipes may have to be updated.
104108
Follow-up from slightly botched renaming in original contribution. [PR #545]

clients/upsc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
Copyright (C) 1999 Russell Kroll <rkroll@exploits.org>
44
Copyright (C) 2012 Arnaud Quette <arnaud.quette@free.fr>
5-
Copyright (C) 2020-2025 Jim Klimov <jimklimov+nut@gmail.com>
5+
Copyright (C) 2020-2026 Jim Klimov <jimklimov+nut@gmail.com>
66
77
This program is free software; you can redistribute it and/or modify
88
it under the terms of the GNU General Public License as published by
@@ -91,6 +91,7 @@ static void usage(const char *prog)
9191
printf(" -h - display this help text\n");
9292

9393
nut_report_config_flags();
94+
upscli_report_build_details();
9495

9596
printf("\n%s", suggest_doc_links(prog, NULL));
9697
}

0 commit comments

Comments
 (0)