Let user know they need to use --enable-keygen
parent
85733255d7
commit
83ec2dc0fd
|
@ -52,7 +52,7 @@ int main(int argc, char** argv)
|
|||
int ret = 0;
|
||||
|
||||
#if defined(OPENSSL_EXTRA) && !defined(NO_PWDBASED) && !defined(NO_ASN) \
|
||||
&& !defined(NO_DES3)
|
||||
&& !defined(NO_DES3) && defined(WOLFSSL_KEY_GEN)
|
||||
int sockfd;
|
||||
struct sockaddr_in servAddr;
|
||||
char buff[256];
|
||||
|
@ -293,6 +293,10 @@ client_example_end:
|
|||
printf("wolfSSL not configured with --enable-des3\n");
|
||||
#endif
|
||||
|
||||
#ifndef WOLFSSL_KEY_GEN
|
||||
printf("wolfSSL not configured with --enable-keygen\n");
|
||||
#endif
|
||||
|
||||
printf("Please re-configure and re-install wolfSSL before using\n"
|
||||
"this example\n\n");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue