Add EVP_PKEY_supports_digest_nid()
[openssl.git] / ssl / ssl_locl.h
index 8afb117372b035ec96a35b81e20bc7d01ef20cc8..c22c1f9ee8f69a2f6507c0afd6d2e8ebc63ba404 100644 (file)
@@ -471,7 +471,11 @@ struct ssl_method_st {
     long (*ssl_ctx_callback_ctrl) (SSL_CTX *s, int cb_id, void (*fp) (void));
 };
 
-# define TLS13_MAX_RESUMPTION_PSK_LENGTH      64
+/*
+ * Matches the length of PSK_MAX_PSK_LEN. We keep it the same value for
+ * consistency, even in the event of OPENSSL_NO_PSK being defined.
+ */
+# define TLS13_MAX_RESUMPTION_PSK_LENGTH      256
 
 /*-
  * Lets make this into an ASN.1 type structure as follows