File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,33 @@ int test_certificate_authorities_certificate_request(void) {
199199 WOLF_STACK_OF (X509_NAME ) * names1 = NULL , * names2 = NULL ;
200200 X509_NAME * name = NULL ;
201201
202- printf ("%d %d\n" , params [i ].client_meth , params [i ].server_meth );
202+ #ifdef WOLFSSL_TLS13
203+ if (params [i ].client_meth == wolfTLSv1_3_client_method ) {
204+ printf ("TLS 1.3\n" );
205+ }
206+ else
207+ #endif
208+ #if !defined(WOLFSSL_NO_TLS12 ) && (defined(OPENSSL_ALL ) || \
209+ defined(WOLFSSL_NGINX ) || defined(HAVE_LIGHTY ))
210+ if (params [i ].client_meth == wolfTLSv1_2_client_method ) {
211+ printf ("TLS 1.2\n" );
212+ }
213+ else
214+ #endif
215+ #ifdef WOLFSSL_DTLS13
216+ if (params [i ].client_meth == wolfDTLSv1_3_client_method ) {
217+ printf ("DTLS 1.3\n" );
218+ }
219+ else
220+ #endif
221+ #if defined(WOLFSSL_DTLS ) && (defined(OPENSSL_ALL ) || \
222+ defined(WOLFSSL_NGINX ) || defined(HAVE_LIGHTY ))
223+ if (params [i ].client_meth == wolfDTLSv1_2_client_method ) {
224+ printf ("DTLS 1.2\n" );
225+ }
226+ else
227+ #endif
228+ {}
203229 fflush (stdout );
204230
205231 if (EXPECT_FAIL ())
You can’t perform that action at this time.
0 commit comments