Richard Levitte ed57f7f935 ERR: Implement the macros ERR_raise() and ERR_raise_data() and use them
The ERR_raise() macro uses a trick in C.  The following is permitted:

    #include <stdio.h>

    void first(void)
    {
        printf("Hello! ");
    }

    void foo(const char *bar)
    {
        printf("%s", bar);
    }

    int main()
    {
        /* This */
        (first(),foo)("cookie");
    }

ERR_raise_data() can be used to implement FUNCerr() as well, which
takes away the need for the special function ERR_put_func_error().

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9452)
2019-07-31 06:43:21 +02:00
..
2019-07-02 14:22:29 +02:00
2019-07-02 14:22:29 +02:00
2019-07-01 10:09:22 +02:00
2019-07-01 19:42:12 -04:00
2019-04-11 12:05:38 +03:00
2019-07-02 14:22:29 +02:00
2019-07-02 14:22:29 +02:00
2019-07-19 20:16:30 +02:00
2019-07-02 14:22:29 +02:00
2019-05-31 02:53:02 +05:30
2019-07-02 14:22:29 +02:00
2019-07-02 14:22:29 +02:00
2019-07-02 14:22:29 +02:00
2019-07-19 20:16:30 +02:00
2019-07-02 14:22:29 +02:00
2019-02-17 23:43:29 +01:00
2019-06-12 10:18:34 +01:00
2019-07-02 14:22:29 +02:00
2019-07-02 14:22:29 +02:00
2019-05-31 12:23:58 +02:00