From 941a5490cfa02953d2adcacb1838fd3d3e21976b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 18 Oct 2018 10:18:53 -0400 Subject: [PATCH] Drop _httpTLSSetCredentials - not implemented or used. --- cups/http-private.h | 1 - cups/tls-gnutls.c | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/cups/http-private.h b/cups/http-private.h index 6c073ac970..cfcabd3043 100644 --- a/cups/http-private.h +++ b/cups/http-private.h @@ -395,7 +395,6 @@ extern const char *_httpStatus(cups_lang_t *lang, http_status_t status) _CUPS_PR extern void _httpTLSInitialize(void) _CUPS_PRIVATE; extern size_t _httpTLSPending(http_t *http) _CUPS_PRIVATE; extern int _httpTLSRead(http_t *http, char *buf, int len) _CUPS_PRIVATE; -extern int _httpTLSSetCredentials(http_t *http) _CUPS_PRIVATE; extern void _httpTLSSetOptions(int options, int min_version, int max_version) _CUPS_PRIVATE; extern int _httpTLSStart(http_t *http) _CUPS_PRIVATE; extern void _httpTLSStop(http_t *http) _CUPS_PRIVATE; diff --git a/cups/tls-gnutls.c b/cups/tls-gnutls.c index 976e8a5e2e..71125073ce 100644 --- a/cups/tls-gnutls.c +++ b/cups/tls-gnutls.c @@ -1209,19 +1209,6 @@ _httpTLSRead(http_t *http, /* I - Connection to server */ } -/* - * '_httpTLSSetCredentials()' - Set the TLS credentials. - */ - -int /* O - Status of connection */ -_httpTLSSetCredentials(http_t *http) /* I - Connection to server */ -{ - (void)http; - - return (0); -} - - /* * '_httpTLSSetOptions()' - Set TLS protocol and cipher suite options. */ -- 2.47.3