Memory leak in routerkeys.c
The rsa_ed_crosscert
variable is assigned a cross-certification object in the load_ed_keys
function but is never freed. Secondly, the variable is only used by the get_master_rsa_crosscert
function which, in turn, is not used by the current code base.
My suggestion is to remove the rsa_ed_crosscert
variable and the get_master_rsa_crosscert
function to fix the memory leak (unless they have some future use-case).
The variable and function were added in 3bee74c6d115131f4850a07a5c12db21ae6f3193.