]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Drop _httpTLSSetCredentials - not implemented or used.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 18 Oct 2018 14:18:53 +0000 (10:18 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 18 Oct 2018 14:18:53 +0000 (10:18 -0400)
cups/http-private.h
cups/tls-gnutls.c

index 6c073ac9708040c2def21c8699c495be688990ea..cfcabd30431a05fae0454fe7a9a5e89677353024 100644 (file)
@@ -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;
index 976e8a5e2e46a9b26edb70f2e9d2fe176ab37ebd..71125073ce4658e1b100a999607c4da24b799cc6 100644 (file)
@@ -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.
  */