Commit 15d7e799 authored by Pauli's avatar Pauli Committed by Tomas Mraz
Browse files

Fix broken change from b3d113e.



Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8606)

(cherry picked from commit 711a161f03ef9ed7cd149a22bf1203700c103e96)
parent 23373fea
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -235,8 +235,9 @@ size_t rand_drbg_get_nonce(RAND_DRBG *drbg,
    struct {
        void * instance;
        int count;
    } data = { NULL, 0 };
    } data;

    memset(&data, 0, sizeof(data));
    pool = rand_pool_new(0, min_len, max_len);
    if (pool == NULL)
        return 0;