Remove some SSLv2 references

There were a few remaining references to SSLv2 support which are no longer
relevant now that it has been removed.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell
2015-10-29 14:50:40 +00:00
parent b7fa1f989d
commit 87d9cafa33
7 changed files with 12 additions and 33 deletions

View File

@@ -856,7 +856,7 @@ int SSL_copy_session_id(SSL *t, const SSL *f)
}
/*
* what if we are setup as SSLv2 but want to talk SSLv3 or vice-versa
* what if we are setup for one protocol version but want to talk another
*/
if (t->method != f->method) {
t->method->ssl_free(t); /* cleanup current */
@@ -1361,7 +1361,6 @@ int SSL_set_cipher_list(SSL *s, const char *str)
return 1;
}
/* works well for SSLv2, not so good for SSLv3 */
char *SSL_get_shared_ciphers(const SSL *s, char *buf, int len)
{
char *p;