Hi, The last argument of `gnutls_psk_set_client_credentials ()' should have type `gnutls_psk_key_flags' instead of `unsigned int' (hopefully the size of both types is the same on C89-compliant platforms ;-)). I believe that last argument should also be renamed to `format' for clarity. Thanks, Ludovic.