Fix error message
authorRich Salz <rsalz@openssl.org>
Sun, 26 Apr 2015 20:43:18 +0000 (16:43 -0400)
committerRich Salz <rsalz@openssl.org>
Sun, 26 Apr 2015 20:43:18 +0000 (16:43 -0400)
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
apps/s_server.c

index 20f6375..e12db0c 100644 (file)
@@ -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);