Opened 4 years ago

Closed 4 years ago

#17916 closed defect (fixed)

Make some GCC versions less sad

Reported by: ln5 Owned by:
Priority: High Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

GCC 4.9.2 (32bit system) doesn't seem to pick up the fact that the
default clause in crypto_digest_algorithm_get_length() results in an
abort() and complains that 'control reaches end of non-void function'.

Child Tickets

Change History (2)

comment:1 Changed 4 years ago by ln5

See branch bug17916 in my public repo for a patch.

comment:2 Changed 4 years ago by nickm

Milestone: Tor: 0.2.8.x-final
Resolution: fixed
Status: newclosed

I think I fixed this earlier today as 4ec0f8531ee4f40cfb3eeca4c383c454986a268a. Please reopen if not?

Note: See TracTickets for help on using tickets.