Project

General

Profile

Actions

Optimization #4950

open

Code improvement in KRB5State.parse function

Added by Eloy PĂ©rez 9 months ago.

Status:
New
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:
Rust

Description

The function KRB5State.parse function requires a couple of improvements in code readability:

- Giving meaningful names to the kerberos message types, probably the MessageType struct defined in krb5_constants.rs could be used for this

- Rename the KRB5State.req_id to KRB5State.req_type, since it is used to track the request type (AS-REQ, TGS-REQ, etc), not an unique id per request, and its name is misleading

No data to display

Actions

Also available in: Atom PDF