Change how the aliasing is done so the tpkg tests will pass

This commit is contained in:
Sara Dickinson 2015-12-23 16:03:29 +00:00
parent 2a50f4d2ac
commit a5027981d9
1 changed files with 4 additions and 2 deletions

View File

@ -418,10 +418,12 @@ uint32_t getdns_get_api_version_number(void);
/* Authentication options used when doing TLS */ /* Authentication options used when doing TLS */
typedef enum getdns_tls_authentication_t { typedef enum getdns_tls_authentication_t {
GETDNS_AUTHENTICATION_NONE = 1300, GETDNS_AUTHENTICATION_NONE = 1300,
GETDNS_AUTHENTICATION_REQUIRED = 1301, GETDNS_AUTHENTICATION_REQUIRED = 1301
GETDNS_AUTHENTICATION_HOSTNAME = 1301, /* an alias for REQUIRED */
} getdns_tls_authentication_t; } getdns_tls_authentication_t;
/* an alias for REQUIRED */
#define GETDNS_AUTHENTICATION_HOSTNAME GETDNS_AUTHENTICATION_REQUIRED
/** /**
* \defgroup Base authentication texts * \defgroup Base authentication texts
* @{ * @{