The Story of the GnuTLS Bug
blog.existentialize.com
blog.existentialize.com
Because of this problem of returning the errno-style result code as a boolean-style result code, the cert being looked at would always verify as correct.
That's why the fix simply added another label to clear the result variable (to be logically false) before running through the cleanup code and returning the result.
IMHO, any style can be adjusted to once one gets over the initial aesthetic revulsion. I haven't yet found a formatting style that is truly better or worse than others, once one has learned it and its quirks.