File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -361,7 +361,8 @@ static void tlshd_tls13_client_psk_handshake_one(struct tlshd_handshake_parms *p
361361 gnutls_psk_client_credentials_t psk_cred ;
362362 gnutls_session_t session ;
363363#ifdef HAVE_GNUTLS_PSK_ALLOCATE_CREDENTIALS2
364- int version , type , hash ;
364+ int version , hash ;
365+ char type ;
365366#endif
366367 gnutls_datum_t key ;
367368 unsigned int flags ;
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ static void tlshd_tls13_server_psk_handshake(struct tlshd_handshake_parms *parms
370370
371371#ifdef HAVE_GNUTLS_PSK_ALLOCATE_CREDENTIALS2
372372 ret = gnutls_psk_allocate_server_credentials2 (& psk_cred ,
373- GNUTLS_MAC_NONE );
373+ GNUTLS_MAC_UNKNOWN );
374374#else
375375 ret = gnutls_psk_allocate_server_credentials (& psk_cred );
376376#endif
You can’t perform that action at this time.
0 commit comments