mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
tlslib: added missing struct element
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
@@ -648,6 +648,7 @@ static void set_dh_params(main_server_st* s, struct vhost_cfg_st *vhost)
|
||||
#ifndef UNDER_TEST
|
||||
struct key_cb_data {
|
||||
unsigned pk;
|
||||
unsigned bits;
|
||||
unsigned idx; /* the index of the key */
|
||||
struct sockaddr_un sa;
|
||||
unsigned sa_len;
|
||||
@@ -758,7 +759,7 @@ int key_cb_get_pk (gnutls_privkey_t key, void* userdata)
|
||||
}
|
||||
|
||||
msg.key_idx = cdata->idx;
|
||||
msg.vhost = cdata->vhost;
|
||||
msg.vhost = (void*)cdata->vhost;
|
||||
msg.pk = 0;
|
||||
msg.bits = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user