From: Matt Caswell Date: Mon, 14 Dec 2015 09:58:55 +0000 (+0000) Subject: Fix no-psk compile failure X-Git-Tag: OpenSSL_1_1_0-pre2~223 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73cd6175b970fa63c9c70d769febd91f3c7b5cdd;p=oweals%2Fopenssl.git Fix no-psk compile failure Reviewed-by: Tim Hudson --- 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) {