From: Nikos Mavrogiannopoulos Date: Fri, 25 Jan 2013 20:21:35 +0000 (+0100) Subject: Some fix when disable-psk-authentication is specified. Based on patch by Jaak Ristioja. X-Git-Tag: gnutls_3_1_7~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d29d1c5bec0701d31d2cd2455d6432334c8ae953;p=thirdparty%2Fgnutls.git Some fix when disable-psk-authentication is specified. Based on patch by Jaak Ristioja. --- diff --git a/lib/auth/psk.h b/lib/auth/psk.h index 0207fbe3aa..c4b495a042 100644 --- a/lib/auth/psk.h +++ b/lib/auth/psk.h @@ -72,7 +72,7 @@ int _gnutls_find_psk_key( gnutls_session_t session, gnutls_psk_client_credential gnutls_datum_t * username, gnutls_datum_t* key, int* free); #else -#define _gnutls_set_psk_session_key(x,y) GNUTLS_E_INTERNAL_ERROR +#define _gnutls_set_psk_session_key(x,y,z) GNUTLS_E_UNIMPLEMENTED_FEATURE #endif /* ENABLE_PSK */ #endif