We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fc0ff6 commit 48409f1Copy full SHA for 48409f1
shctx.c
@@ -173,7 +173,7 @@ int shctx_new_cb(SSL *ssl, SSL_SESSION *sess) {
173
/* check if session reserved size in aligned buffer is large enougth for the ASN1 encode session */
174
data_len=i2d_SSL_SESSION(sess, NULL);
175
if(data_len > SHSESS_MAX_DATA_LEN)
176
- return 1;
+ return 0;
177
178
/* process ASN1 session encoding before the lock: lower cost */
179
p = data = encsess+SSL_MAX_SSL_SESSION_ID_LENGTH;
0 commit comments