aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssltest_old.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2017-03-28 23:57:28 +0200
committerRichard Levitte <levitte@openssl.org>2017-03-29 07:14:29 +0200
commit69687aa829bc8bdcaf5468eb3dd0ada13700b7aa (patch)
tree564244011bcb19ef2157b0dac249aea3e1440cae /test/ssltest_old.c
parent7bd278957d27e09511520dabdc8696366ffb2b96 (diff)
downloadopenssl-69687aa829bc8bdcaf5468eb3dd0ada13700b7aa.tar.gz
More typo fixes
Fix some comments too [skip ci] Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3069)
Diffstat (limited to 'test/ssltest_old.c')
-rw-r--r--test/ssltest_old.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ssltest_old.c b/test/ssltest_old.c
index 00fb1a88c7..e0d5a08c96 100644
--- a/test/ssltest_old.c
+++ b/test/ssltest_old.c
@@ -285,7 +285,6 @@ static int verify_servername(SSL *client, SSL *server)
* next_protos_parse parses a comma separated list of strings into a string
* in a format suitable for passing to SSL_CTX_set_next_protos_advertised.
* outlen: (output) set to the length of the resulting buffer on success.
- * err: (maybe NULL) on failure, an error message line is written to this BIO.
* in: a NUL terminated string like "abc,def,ghi"
*
* returns: a malloced buffer or NULL on failure.
@@ -1758,7 +1757,7 @@ int main(int argc, char *argv[])
goto err;
}
if (SSL_version(c_ssl) != version) {
- BIO_printf(bio_err, "Unxpected version negotiated. "
+ BIO_printf(bio_err, "Unexpected version negotiated. "
"Expected: %s, got %s\n", should_negotiate, SSL_get_version(c_ssl));
ret = 1;
goto err;