The description of "gnutls_psk_allocate_client_credentials" incorrectly
states that sc is a pointer to a "gnutls_psk_server_credentials_t". sc
is a pointer to a "gnutls_psk_client_credentials_t".
In the description of "gnutls_credentials_set", mention the type that
the cred parameter should be when using GNUTLS_CRD_PSK.
Signed-off-by: Sahil Siddiq <sahilcdq@proton.me>
* in case of a client, and #gnutls_srp_server_credentials_t, in case
* of a server.
*
+ * For %GNUTLS_CRD_PSK, @cred will be #gnutls_psk_client_credentials_t
+ * in case of a client, and #gnutls_psk_server_credentials_t, in case
+ * of a server.
+ *
* For %GNUTLS_CRD_CERTIFICATE, @cred will be
* #gnutls_certificate_credentials_t.
*
/**
* gnutls_psk_allocate_client_credentials:
- * @sc: is a pointer to a #gnutls_psk_server_credentials_t type.
+ * @sc: is a pointer to a #gnutls_psk_client_credentials_t type.
*
* Allocate a gnutls_psk_client_credentials_t structure.
*