From: Michael R Sweet Date: Thu, 18 Oct 2018 14:18:53 +0000 (-0400) Subject: Drop _httpTLSSetCredentials - not implemented or used. X-Git-Tag: v2.3b6~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941a5490cfa02953d2adcacb1838fd3d3e21976b;p=thirdparty%2Fcups.git Drop _httpTLSSetCredentials - not implemented or used. --- 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. */