forked from osmocom/wireshark
quic: put quic_connection_add_cid into ifdef.
It's used by dissect_quic_frame_type only, that is defined within HAVE_LIBGCRYPT_AEAD. Change-Id: Ib670930fcc0f8334c99884a0d6c45dbd00777e87 Reviewed-on: https://code.wireshark.org/review/29737 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
04a5e1448a
commit
2a9ae25bc7
|
@ -791,6 +791,7 @@ quic_connection_create(packet_info *pinfo, guint32 version, const quic_cid_t *sc
|
|||
return conn;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBGCRYPT_AEAD
|
||||
/**
|
||||
* Use the new CID as additional identifier for the specified connection and
|
||||
* remember it for connection tracking.
|
||||
|
@ -815,6 +816,7 @@ quic_connection_add_cid(quic_info_data_t *conn, const quic_cid_t *new_cid, gbool
|
|||
|
||||
quic_cids_insert(&new_item->data, conn, from_server);
|
||||
}
|
||||
#endif
|
||||
|
||||
/** Create or update a connection. */
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue