Skip to content

Commit e964379

Browse files
committed
Remove bogus httpSetCredentialsAndKey prototype.
1 parent 46c58ec commit e964379

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cups/http.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,7 @@ extern http_uri_status_t httpSeparateURI(http_uri_coding_t decoding, const char
498498
extern void httpSetAuthString(http_t *http, const char *scheme, const char *data) _CUPS_PUBLIC;
499499
extern void httpSetBlocking(http_t *http, bool b) _CUPS_PUBLIC;
500500
extern void httpSetCookie(http_t *http, const char *cookie) _CUPS_PUBLIC;
501-
extern int httpSetCredentials(http_t *http, cups_array_t *certs) _CUPS_DEPRECATED_MSG("Use httpSetCredentialsAndKey instead.");
502-
extern bool httpSetCredentialsAndKey(http_t *http, const char *credentials, const char *key) _CUPS_PUBLIC;
501+
extern int httpSetCredentials(http_t *http, cups_array_t *certs) _CUPS_DEPRECATED_MSG("Use cupsSetClientCredentials instead.");
503502
extern void httpSetDefaultField(http_t *http, http_field_t field, const char *value) _CUPS_PUBLIC;
504503
extern bool httpSetEncryption(http_t *http, http_encryption_t e) _CUPS_PUBLIC;
505504
extern void httpSetExpect(http_t *http, http_status_t expect) _CUPS_PUBLIC;

0 commit comments

Comments
 (0)