- if (curves != NULL)
- if(!SSL_CTX_set1_curves_list(ctx,curves)) {
- BIO_printf(bio_err,"error setting curve list\n");
- ERR_print_errors(bio_err);
- goto end;
- }
- if (sigalgs != NULL)
- if(!SSL_CTX_set1_sigalgs_list(ctx,sigalgs)) {
- BIO_printf(bio_err,"error setting signature algorithms list\n");
- ERR_print_errors(bio_err);
- goto end;
- }
- if (client_sigalgs != NULL)
- if(!SSL_CTX_set1_client_sigalgs_list(ctx,client_sigalgs)) {
- BIO_printf(bio_err,"error setting client signature algorithms list\n");
- ERR_print_errors(bio_err);
- goto end;
- }