aboutsummaryrefslogtreecommitdiffstats
path: root/apps/ciphers.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-12-14 09:58:55 +0000
committerMatt Caswell <matt@openssl.org>2015-12-15 11:22:34 +0000
commit73cd6175b970fa63c9c70d769febd91f3c7b5cdd (patch)
tree54dc8e179b92b102fc37bce6123005cd9a18d169 /apps/ciphers.c
parentbbf431cb5e4188645d602f0ad42bca145a099466 (diff)
downloadopenssl-73cd6175b970fa63c9c70d769febd91f3c7b5cdd.tar.gz
Fix no-psk compile failure
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'apps/ciphers.c')
-rw-r--r--apps/ciphers.c2
1 files changed, 2 insertions, 0 deletions
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)
{