Rename the "timing" program to "timing_load_creds" and integrate it with test/build.info

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18821)
This commit is contained in:
Dr. David von Oheimb 2022-07-18 20:26:57 +02:00 committed by Dr. David von Oheimb
parent 6212fc6814
commit c02036e1ad
4 changed files with 9 additions and 5 deletions

View File

@ -37,7 +37,7 @@ IF[{- !$disabled{tests} -}]
sanitytest rsa_complex exdatatest bntest \
ecstresstest gmdifftest pbelutest \
destest mdc2test sha_test \
exptest pbetest localetest evp_pkey_ctx_new_from_name\
exptest pbetest localetest evp_pkey_ctx_new_from_name \
evp_pkey_provided_test evp_test evp_extra_test evp_extra_test2 \
evp_fetch_prov_test evp_libctx_test ossl_store_test \
v3nametest v3ext \
@ -956,6 +956,13 @@ ENDIF
INCLUDE[build_wincrypt_test]=../include
DEPEND[build_wincrypt_test]=../libssl ../libcrypto
IF[{- !$disabled{shared} -}]
PROGRAMS{noinst}=timing_load_creds
SOURCE[timing_load_creds]=timing_load_creds.c
INCLUDE[timing_load_creds]=../include
DEPEND[timing_load_creds]=../libcrypto.a
ENDIF
IF[{- !$disabled{'quic'} -}]
PROGRAMS{noinst}=quicapitest quic_wire_test
ENDIF

View File

@ -5,9 +5,6 @@
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*
* I compiled this in the source tree this way:
* gcc -g -Iinclude a.c libcrypto.a -ldl -lpthread
*/
#include <stdio.h>
#include <stdlib.h>
@ -20,7 +17,7 @@
#include <sys/time.h>
#include <sys/resource.h>
static char *prog = "./a.out";
static char *prog;
static void readx509(const char *contents, int size)
{