summaryrefslogtreecommitdiffstats
path: root/ssl/ssl.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-11-16 12:47:12 +0000
committerBen Laurie <ben@openssl.org>2008-11-16 12:47:12 +0000
commitf3b7bdadbcd94ae5d0b9f31ac549510621f6963e (patch)
tree19fe9338ac63cd43280cafdae4c59f0a8aeefa8d /ssl/ssl.h
parentad7159ea8419685a6921816377b7b8b5ec3f8cea (diff)
Integrate J-PAKE and TLS-PSK. Increase PSK buffer size. Fix memory leaks.
Diffstat (limited to 'ssl/ssl.h')
-rw-r--r--ssl/ssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 1029e823aa..e43b5c27c6 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -910,7 +910,7 @@ void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL
/* the maximum length of the buffer given to callbacks containing the
* resulting identity/psk */
#define PSK_MAX_IDENTITY_LEN 128
-#define PSK_MAX_PSK_LEN 64
+#define PSK_MAX_PSK_LEN 256
void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx,
unsigned int (*psk_client_callback)(SSL *ssl, const char *hint,
char *identity, unsigned int max_identity_len, unsigned char *psk,