Commit c2114afc authored by ganesh's avatar ganesh Committed by Richard Levitte
Browse files

RAND_egd_bytes: No need to check RAND_status on connection error.

parent 3ed93c86
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -231,6 +231,8 @@ int RAND_egd_bytes(const char *path, int bytes)
    int num, ret = -1;

    num = RAND_query_egd_bytes(path, NULL, bytes);
    if (num < 0)
        goto err;
    if (RAND_status() == 1)
        ret = num;
 err: