diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-10-28 15:57:22 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-10-28 16:27:53 +1100 |
commit | 850ec1773d656cbff44d78a79e369dc262ce5853 (patch) | |
tree | a86962aeef13881e79345f184e24c0d90b0aba97 /sshbuf-getput-crypto.c | |
parent | 6fc7e1c6fec3ba589869ae98e968c0e5e2e4695b (diff) | |
download | openssh-git-850ec1773d656cbff44d78a79e369dc262ce5853.tar.gz |
Wrap OpenSSL bits in WITH_OPENSSL.
Diffstat (limited to 'sshbuf-getput-crypto.c')
-rw-r--r-- | sshbuf-getput-crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sshbuf-getput-crypto.c b/sshbuf-getput-crypto.c index 3dd1e144..ecbfa550 100644 --- a/sshbuf-getput-crypto.c +++ b/sshbuf-getput-crypto.c @@ -23,6 +23,7 @@ #include <stdio.h> #include <string.h> +#ifdef WITH_OPENSSL #include <openssl/bn.h> #ifdef OPENSSL_HAS_ECC # include <openssl/ec.h> @@ -182,4 +183,4 @@ sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v) EC_KEY_get0_group(v)); } #endif /* OPENSSL_HAS_ECC */ - +#endif /* WITH_OPENSSL */ |