Commit 7c226dfc authored by Shane Lontis's avatar Shane Lontis Committed by Pauli
Browse files

Fixed issue where DRBG_CTR fails if NO_DF is used - when entropy is called

parent 037241bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg,
            if (RAND_DRBG_generate(drbg->parent,
                                   buffer, bytes_needed,
                                   prediction_resistance,
                                   (unsigned char *)drbg, sizeof(*drbg)) != 0)
                                   NULL, 0) != 0)
                bytes = bytes_needed;
            rand_drbg_unlock(drbg->parent);