Skip to content
Snippets Groups Projects
Commit 56491f98 authored by Marek Behún's avatar Marek Behún Committed by Tom Rini
Browse files

tools/kwbimage: Support building with LibreSSL


The kwbimage utility fails to compile when LibreSSL is present on
the host system instead of OpenSSL. This one-line patch resolves
this.

Signed-off-by: default avatarMarek Behun <marek.behun@nic.cz>
parent 39f08191
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
#include <openssl/err.h>
#include <openssl/evp.h>
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
static void RSA_get0_key(const RSA *r,
const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment