Fix building without openssl.

This fixes the following when there are no openssl headers on the system:
ssh-ecdsa-sk.c:34:10: fatal error: 'openssl/bn.h' file not found
This commit is contained in:
Ruben Kerkhof 2020-01-20 10:32:23 +01:00 committed by Darren Tucker
parent e6b7157b4e
commit 0488dc2d30

View File

@ -31,10 +31,12 @@
#include <sys/types.h>
#ifdef WITH_OPENSSL
#include <openssl/bn.h>
#include <openssl/ec.h>
#include <openssl/ecdsa.h>
#include <openssl/evp.h>
#endif
#include <string.h>
#include <stdio.h> /* needed for DEBUG_SK only */