提交 73cd6175 编写于 作者: M Matt Caswell

Fix no-psk compile failure

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 bbf431cb
...@@ -93,6 +93,7 @@ OPTIONS ciphers_options[] = { ...@@ -93,6 +93,7 @@ OPTIONS ciphers_options[] = {
{NULL} {NULL}
}; };
#ifndef OPENSSL_NO_PSK
static unsigned int dummy_psk(SSL *ssl, const char *hint, char *identity, static unsigned int dummy_psk(SSL *ssl, const char *hint, char *identity,
unsigned int max_identity_len, unsigned int max_identity_len,
unsigned char *psk, unsigned char *psk,
...@@ -100,6 +101,7 @@ static unsigned int dummy_psk(SSL *ssl, const char *hint, char *identity, ...@@ -100,6 +101,7 @@ static unsigned int dummy_psk(SSL *ssl, const char *hint, char *identity,
{ {
return 0; return 0;
} }
#endif
int ciphers_main(int argc, char **argv) int ciphers_main(int argc, char **argv)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册