From 73cd6175b970fa63c9c70d769febd91f3c7b5cdd Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 14 Dec 2015 09:58:55 +0000 Subject: [PATCH] Fix no-psk compile failure Reviewed-by: Tim Hudson --- apps/ciphers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/ciphers.c b/apps/ciphers.c index 12dca50a12..d5a7631ac1 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -93,6 +93,7 @@ OPTIONS ciphers_options[] = { {NULL} }; +#ifndef OPENSSL_NO_PSK static unsigned int dummy_psk(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, @@ -100,6 +101,7 @@ static unsigned int dummy_psk(SSL *ssl, const char *hint, char *identity, { return 0; } +#endif int ciphers_main(int argc, char **argv) { -- 2.25.1