GnuTLS (libgrypt really) and Postfix

Werner Koch wk at gnupg.org
Wed Feb 15 10:18:00 EST 2006


On Tue, 14 Feb 2006 15:53:39 -0500, John Denker said:

> It is straightforward but laborious to simulate exception-throwing
> in C:
>     extern int errno;
>     /* try some stuff */
>     if (errno) return;         /* return immediately on any error */

Except that this does not work.  ERRNO gets set by most calls only on
error so if everything went fine in the "try ssome stuff" you get
random results.



Shalom-Salam,

   Werner





---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com



More information about the cryptography mailing list