Skip to content

Commit 881de11

Browse files
committed
Add missing NoSystem SSL option.
1 parent 5b273ce commit 881de11

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

cups/http-private.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ extern "C" {
5858
# define _HTTP_TLS_ALLOW_RC4 1 // Allow RC4 cipher suites
5959
# define _HTTP_TLS_ALLOW_DH 2 // Allow DH/DHE key negotiation
6060
# define _HTTP_TLS_DENY_CBC 4 // Deny CBC cipher suites
61+
# define _HTTP_TLS_NO_SYSTEM 8 // No system crypto policy
6162
# define _HTTP_TLS_SET_DEFAULT 128 // Setting the default TLS options
6263

6364
# define _HTTP_TLS_SSL3 0 // Min/max version is SSL/3.0

cups/usersys.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,8 @@ cups_set_ssl_options(
16711671
min_version = _HTTP_TLS_1_3;
16721672
else if (!_cups_strcasecmp(start, "None"))
16731673
options = _HTTP_TLS_NONE;
1674+
else if (!_cups_strcasecmp(start, "NoSystem"))
1675+
options |= _HTTP_TLS_NO_SYSTEM;
16741676
}
16751677

16761678
cc->ssl_options = options;

0 commit comments

Comments
 (0)