[gnutls-devel] GnuTLS | Fix cipher-openssl-compat failing with LibreSSL (!846)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Dec 27 22:56:35 CET 2018


What about the following pseudo-code:
```c
evp_cipher = EVP_get_cipherbyname(ocipher);
if (!evp_cipher) {
/* XXX: fix version check later when LibreSSL fixes support for aes-ccm and chacha20-poly1305 */
#ifdef LIBRESSL_VERSION_NUMBER
fprintf("Failure!"\n");
return -1;
#else
/* OpenSSL should work */
fail("Failure here!\n");
return -1;
#endif
}
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/846#note_127583107
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181227/d67e757d/attachment.html>


More information about the Gnutls-devel mailing list