Re: GnuTLS | [#1893] Align max cert verify depth with OpenSSL (!2122)

"\(Deprecated\) Read-only notification of GnuTLS library development activities" <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>


Tim Rühsen started a new discussion on tests/verify-limits.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2122#note_3662821681

 > +	gnutls_deinit(server);
 > +	gnutls_certificate_free_credentials(client_cred);
 > +	gnutls_certificate_free_credentials(server_cred);
 > +}
 > +
 > +void doit(void)
 > +{
 > +	gnutls_x509_crt_t certs[CERTIFICATE_COUNT];
 > +	gnutls_x509_privkey_t key;
 > +	unsigned int i;
 > +
 > +	CHECK_RET(global_init());
 > +	CHECK_RET(gnutls_x509_privkey_init(&key));
 > +	CHECK_RET(gnutls_x509_privkey_import(key, &server_ecc_key,
 > +					     GNUTLS_X509_FMT_PEM));
 > +	create_chain(certs, key);

Pass the countof certs as `chain_size`

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2122#note_3662821681
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/namespace/17175643/sent_notifications/6-5181k09ehzhd8potbo0ku2fm5-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.