Holes discovered in SSL certificate validation
Holes discovered in SSL certificate validation
Posted Nov 1, 2012 21:18 UTC (Thu) by zlynx (guest, #2285)In reply to: Holes discovered in SSL certificate validation by zmower
Parent article: Holes discovered in SSL certificate validation
c++ introduced strongly typed enums. These are great. In the cURL SSL example it could be implemented with an enum named something like SSL_HOST_VERIFY_ON = 2. That value could then never be implicitly set by an integer, a boolean or anything except an enum of the right type.
Unfortunately we cannot go back in time to add features to old versions of C.
