mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
Fix error message
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
parent
88806cfc61
commit
ce6766de69
@ -3197,7 +3197,7 @@ static int add_session(SSL *ssl, SSL_SESSION *session)
|
||||
|
||||
/* Assume it still works. */
|
||||
if (i2d_SSL_SESSION(session, &p) != sess->derlen) {
|
||||
BIO_printf(bio_err, "Re-encoding session strangeness\n");
|
||||
BIO_printf(bio_err, "Unexpected session encoding length\n");
|
||||
OPENSSL_free(sess->id);
|
||||
OPENSSL_free(sess->der);
|
||||
OPENSSL_free(sess);
|
||||
|
Loading…
Reference in New Issue
Block a user