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

Fix jpaketest compilation error.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 74b31db6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -112,12 +112,14 @@ int main(int argc, char **argv)
    BIGNUM *g = NULL;
    BIGNUM *q = NULL;
    BIGNUM *secret = BN_new();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
    BIO *bio_err;

    bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT);

    CRYPTO_set_mem_debug_functions(1)
    CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
#endif

    ERR_load_crypto_strings();

@@ -176,7 +178,9 @@ int main(int argc, char **argv)
    CRYPTO_cleanup_all_ex_data();
    ERR_remove_thread_state(NULL);
    ERR_free_strings();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
    CRYPTO_mem_leaks(bio_err);
#endif

    return 0;
}