Holes discovered in SSL certificate validation
Holes discovered in SSL certificate validation
Posted Nov 2, 2012 18:07 UTC (Fri) by zlynx (guest, #2285)In reply to: Holes discovered in SSL certificate validation by cmccabe
Parent article: Holes discovered in SSL certificate validation
No, C does not have a boolean type. That doesn't change much though because pointers do get treated as boolean values.
It is very common to write if(pointer) { use(pointer); } in C code. That is a pointer being used as a boolean.
I think that you must have gotten confused about the pointer conversions somewhere. There aren't any cases in any version of C or C++ where a numeric type converts into a pointer silently.
