aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/kerberos.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-11-29 17:13:00 +0100
committerGitHub <noreply@github.com>2023-11-29 17:13:00 +0100
commit3b35cb37d9b12d3fe3386e9d3f60ab46076d3fbc (patch)
tree3cf19bde0e542ee8bf7467a7d545ff8ebcb8fdab /src/lib/protocols/kerberos.c
parentac90b1f00910a33d9104d0470429bb8244a49cc9 (diff)
Keep separating public and private API (#2157)
See: b08c787fe
Diffstat (limited to 'src/lib/protocols/kerberos.c')
-rw-r--r--src/lib/protocols/kerberos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/protocols/kerberos.c b/src/lib/protocols/kerberos.c
index 1939a2e32..ae09493b9 100644
--- a/src/lib/protocols/kerberos.c
+++ b/src/lib/protocols/kerberos.c
@@ -45,9 +45,9 @@ static int krb_decode_asn1_length(struct ndpi_detection_module_struct *ndpi_stru
int64_t length;
u_int16_t value_len;
- length = ndpi_asn1_ber_decode_length(&packet->payload[*kasn1_offset],
- packet->payload_packet_len - *kasn1_offset,
- &value_len);
+ length = asn1_ber_decode_length(&packet->payload[*kasn1_offset],
+ packet->payload_packet_len - *kasn1_offset,
+ &value_len);
if (length == -1 ||
packet->payload_packet_len < *kasn1_offset + value_len + length)