Skip to content

Commit 8552be0

Browse files
authored
Merge pull request wolfSSL#938 from padelsbach/require-wolfssh-cert
Require wolfssl to be built with --enable-wolfssh
2 parents 87c0b05 + 2b0cc74 commit 8552be0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

wolfssh/internal.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
#include <wolfssl/wolfcrypt/curve25519.h>
4141
#include <wolfssl/wolfcrypt/ed25519.h>
4242

43+
#ifndef WOLFSSL_WOLFSSH
44+
#error "wolfssh requires wolfSSL built with WOLFSSL_WOLFSSH"
45+
#endif
4346
#ifdef WOLFSSH_SCP
4447
#include <wolfssh/wolfscp.h>
4548
#endif

0 commit comments

Comments
 (0)