Commit c26e5369 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix return code in CRYPTO_mem_leaks_fp()



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 541e9565
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -694,8 +694,8 @@ int CRYPTO_mem_leaks_fp(FILE *fp)
    BIO *b;
    int ret;

    if (mh == NULL)
        return 0;
    if (mh == NULL && amih == NULL)
        return 1;
    /*
     * Need to turn off memory checking when allocated BIOs ... especially as
     * we're creating them at a time when we're trying to check we've not