Re: [PATCH] crypto: Allow building with GnuTLS but without Libtasn1

2024-05-02 Thread Philippe Mathieu-Daudé
On 2/5/24 11:26, Philippe Mathieu-Daudé wrote: On 2/5/24 10:26, Daniel P. Berrangé wrote: On Thu, May 02, 2024 at 10:22:02AM +0200, Philippe Mathieu-Daudé wrote: On 2/5/24 10:11, Philippe Mathieu-Daudé wrote: We only use Libtasn1 in unit tests. As noted in commit d47b83b118 ("tests: add migrat

Re: [PATCH] crypto: Allow building with GnuTLS but without Libtasn1

2024-05-02 Thread Philippe Mathieu-Daudé
On 2/5/24 10:26, Daniel P. Berrangé wrote: On Thu, May 02, 2024 at 10:22:02AM +0200, Philippe Mathieu-Daudé wrote: On 2/5/24 10:11, Philippe Mathieu-Daudé wrote: We only use Libtasn1 in unit tests. As noted in commit d47b83b118 ("tests: add migration tests of TLS with x509 credentials"), having

Re: [PATCH] crypto: Allow building with GnuTLS but without Libtasn1

2024-05-02 Thread Daniel P . Berrangé
On Thu, May 02, 2024 at 10:22:02AM +0200, Philippe Mathieu-Daudé wrote: > On 2/5/24 10:11, Philippe Mathieu-Daudé wrote: > > We only use Libtasn1 in unit tests. As noted in commit d47b83b118 > > ("tests: add migration tests of TLS with x509 credentials"), having > > GnuTLS without Libtasn1 is a val

Re: [PATCH] crypto: Allow building with GnuTLS but without Libtasn1

2024-05-02 Thread Philippe Mathieu-Daudé
On 2/5/24 10:11, Philippe Mathieu-Daudé wrote: We only use Libtasn1 in unit tests. As noted in commit d47b83b118 ("tests: add migration tests of TLS with x509 credentials"), having GnuTLS without Libtasn1 is a valid configuration, so do not require Libtasn1, to avoid: Dependency gnutls found:

[PATCH] crypto: Allow building with GnuTLS but without Libtasn1

2024-05-02 Thread Philippe Mathieu-Daudé
We only use Libtasn1 in unit tests. As noted in commit d47b83b118 ("tests: add migration tests of TLS with x509 credentials"), having GnuTLS without Libtasn1 is a valid configuration, so do not require Libtasn1, to avoid: Dependency gnutls found: YES 3.7.1 (cached) Run-time dependency libtasn1