mirror of https://github.com/wolfSSL/wolfssh.git
82 lines
1.7 KiB
C
82 lines
1.7 KiB
C
#ifndef _WIN_USER_SETTINGS_H_
|
|
#define _WIN_USER_SETTINGS_H_
|
|
|
|
/* Verify this is Windows */
|
|
#ifndef _WIN32
|
|
#error This user_settings.h header is only designed for Windows
|
|
#endif
|
|
|
|
#define WOLFSSL_WOLFSSH
|
|
#define WOLFCRYPT_ONLY
|
|
#define WOLFSSL_KEY_GEN
|
|
#define HAVE_ECC
|
|
#define HAVE_AESGCM
|
|
#define HAVE_HASHDRBG
|
|
#define WOLFSSL_AES_COUNTER
|
|
#define WOLFSSL_AES_DIRECT
|
|
#define WOLFSSL_SHA384
|
|
#define WOLFSSL_SHA512
|
|
#define NO_PSK
|
|
#define NO_HC128
|
|
#define NO_RC4
|
|
#define NO_RABBIT
|
|
#define NO_DSA
|
|
#define NO_MD4
|
|
#define WC_RSA_BLINDING
|
|
#define WOLFSSL_PUBLIC_MP
|
|
#define WC_NO_HARDEN
|
|
|
|
#define WOLFSSH_TERM
|
|
#ifndef WOLFSSH_TERM
|
|
/* Threading is needed for opening a psuedo terminal in the examples */
|
|
#define SINGLE_THREADED
|
|
#endif
|
|
|
|
/* adding X509 support */
|
|
#if 0
|
|
/* Uses CertManager which is in the TLS layer */
|
|
#undef WOLFCRYPT_ONLY
|
|
|
|
#undef WOLFSSL_CERT_GEN
|
|
#define WOLFSSL_CERT_GEN
|
|
|
|
/* Used for comparing IP of peer with IP found in certificate */
|
|
#undef WOLFSSL_IP_ALT_NAME
|
|
#define WOLFSSL_IP_ALT_NAME
|
|
|
|
#undef HAVE_TLS_EXTENSIONS
|
|
#define HAVE_TLS_EXTENSIONS
|
|
|
|
#undef OPENSSL_ALL
|
|
#define OPENSSL_ALL
|
|
|
|
/* Turn off additional FPKI support checks (Federal PKI) on certificates */
|
|
#undef WOLFSSH_NO_FPKI
|
|
#define WOLFSSH_NO_FPKI
|
|
|
|
#undef WOLFSSH_CERTS
|
|
#define WOLFSSH_CERTS
|
|
#endif
|
|
|
|
|
|
/* default SSHD options */
|
|
#if 0
|
|
#undef WOLFSSH_SSHD
|
|
#define WOLFSSH_SSHD
|
|
|
|
/* handle shell connections */
|
|
#undef WOLFSSH_SHELL
|
|
#define WOLFSSH_SHELL
|
|
|
|
/* handle SCP connection requests */
|
|
#undef WOLFSSH_SCP
|
|
#define WOLFSSH_SCP
|
|
|
|
/* handle SFTP connection requests */
|
|
#undef WOLFSSH_SFTP
|
|
#define WOLFSSH_SFTP
|
|
|
|
#endif
|
|
|
|
#endif /* _WIN_USER_SETTINGS_H_ */
|