Skip to content

Commit

Permalink
Fix another md5 ctx free location
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 22, 2022
1 parent 4b6fd79 commit b9e57e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocols/radius/decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ ssize_t fr_radius_decode_tunnel_password(uint8_t *passwd, size_t *pwlen,
if (embedded_len > encrypted_len) {
fr_strerror_printf("Tunnel Password is too long for the attribute "
"(shared secret is probably incorrect!)");
fr_md5_ctx_free(&md5_ctx);
fr_md5_ctx_free(&md5_ctx_old);
fr_md5_ctx_free_from_list(&md5_ctx);
fr_md5_ctx_free_from_list(&md5_ctx_old);
return -1;
}

Expand Down

0 comments on commit b9e57e0

Please sign in to comment.