Fix no-psk compile failure

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Matt Caswell 2015-12-14 09:58:55 +00:00
parent bbf431cb5e
commit 73cd6175b9

View File

@ -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)
{