X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=providers%2Ffips%2Ffipsprov.c;h=a30ece8e27d1852bf3e20be15034239550ee8db6;hb=8908d18cb1020f225170dd9090206842dbb6bbe6;hp=9f9b4289ac5a8ce11d276e6854c8d5a7ac08a946;hpb=da747958c5db57dbe22c015d058be9db8a90f8f9;p=oweals%2Fopenssl.git diff --git a/providers/fips/fipsprov.c b/providers/fips/fipsprov.c index 9f9b4289ac..a30ece8e27 100644 --- a/providers/fips/fipsprov.c +++ b/providers/fips/fipsprov.c @@ -326,11 +326,13 @@ void ERR_put_error(int lib, int func, int reason, const char *file, int line) * so we'll need to come up with something else for them. */ c_put_error(lib, func, reason, file, line); + ERR_add_error_data(1, "(in the FIPS module)"); } void ERR_add_error_data(int num, ...) { va_list args; + va_start(args, num); ERR_add_error_vdata(num, args); va_end(args);