Fix copyright year issues
[openssl.git] / test / provfetchtest.c
index 1d09e6a0db4dc96e40fc15de265f3099932a2402..b1f9d08c4619d9b464c1487717a7a52e84f57056 100644 (file)
@@ -213,7 +213,7 @@ static int dummy_provider_init(const OSSL_CORE_HANDLE *handle,
      * Do some work using the child libctx, to make sure this is possible from
      * inside the init function.
      */
-    if (!RAND_bytes_ex(libctx, buf, sizeof(buf), 0))
+    if (RAND_bytes_ex(libctx, buf, sizeof(buf), 0) <= 0)
         return 0;
 
     return 1;