]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Some fix when disable-psk-authentication is specified. Based on patch by Jaak Ristioja.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 25 Jan 2013 20:21:35 +0000 (21:21 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 25 Jan 2013 20:21:35 +0000 (21:21 +0100)
lib/auth/psk.h

index 0207fbe3aaaa0c443d5271ccb4843d8cc32312f3..c4b495a0426913fcb6e3d464480896e78cd44d48 100644 (file)
@@ -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