@@ -50,7 +50,7 @@ size_t num_calls;
5050size_t * counts ;
5151OSSL_TIME max_time ;
5252
53- int err = 0 ;
53+ int error = 0 ;
5454
5555static int threadcount ;
5656
@@ -69,7 +69,7 @@ static void do_pemread(size_t num)
6969
7070 if (sample_id >= SAMPLE_ALL ) {
7171 fprintf (stderr , "%s no sample key set for test\n" , __func__ );
72- err = 1 ;
72+ error = 1 ;
7373 return ;
7474 }
7575
@@ -80,7 +80,7 @@ static void do_pemread(size_t num)
8080 if (pem == NULL ) {
8181 fprintf (stderr , "%s Cannot create mem BIO [%s PEM]\n" ,
8282 __func__ , sample_names [sample_id ]);
83- err = 1 ;
83+ error = 1 ;
8484 return ;
8585 }
8686
@@ -93,14 +93,14 @@ static void do_pemread(size_t num)
9393 if (key == NULL ) {
9494 fprintf (stderr , "Failed to create key [%s PEM]\n" ,
9595 sample_names [sample_id ]);
96- err = 1 ;
96+ error = 1 ;
9797 goto end ;
9898 }
9999 EVP_PKEY_free (key );
100100 if (BIO_reset (pem ) == 0 ) {
101101 fprintf (stderr , "Failed to reset BIO [%s PEM]\n" ,
102102 sample_names [sample_id ]);
103- err = 1 ;
103+ error = 1 ;
104104 goto end ;
105105 }
106106
@@ -130,7 +130,7 @@ static void do_derread(size_t num)
130130
131131 if (sample_id >= SAMPLE_ALL ) {
132132 fprintf (stderr , "%s no sample key set for test\n" , __func__ );
133- err = 1 ;
133+ error = 1 ;
134134 return ;
135135 }
136136
@@ -144,7 +144,7 @@ static void do_derread(size_t num)
144144 if (pkey == NULL ) {
145145 fprintf (stderr , "%s pkey is NULL [%s DER]\n" ,
146146 __func__ , sample_names [sample_id ]);
147- err = 1 ;
147+ error = 1 ;
148148 goto error ;
149149 }
150150error :
@@ -238,7 +238,7 @@ static void report_result(int key_id, int format_id, int verbosity)
238238{
239239 struct call_times times = { 0 };
240240
241- if (err ) {
241+ if (error ) {
242242 fprintf (stderr , "Error during test of %s in %s format\n" ,
243243 sample_names [key_id ], format_names [format_id ]);
244244 exit (EXIT_FAILURE );
0 commit comments