]> git.ipfire.org Git - thirdparty/gnutls.git/commit
doc: Fix error and improve doc
authorSahil Siddiq <sahilcdq@proton.me>
Thu, 22 Aug 2024 18:32:37 +0000 (00:02 +0530)
committerSahil Siddiq <sahilcdq@proton.me>
Thu, 22 Aug 2024 18:47:55 +0000 (00:17 +0530)
commit378bc5946961eb7cbaa3033d8567cbef283fddca
treec750dddf0be53f9603d75504e1b927e02de53195
parent01dde1389cc5d11c2a909b4111d2bc61d5bb17ae
doc: Fix error and improve doc

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>
lib/auth.c
lib/psk.c