Remove support for SSL_OP_NETSCAPE_CA_DN_BUG.
This is an ancient bug workaround for Netscape clients. The documentation talks about versions 3.x and 4.x beta. Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
@@ -2056,20 +2056,10 @@ int ssl3_send_certificate_request(SSL *s)
|
||||
goto err;
|
||||
}
|
||||
p = ssl_handshake_start(s) + n;
|
||||
if (!(s->options & SSL_OP_NETSCAPE_CA_DN_BUG)) {
|
||||
s2n(j, p);
|
||||
i2d_X509_NAME(name, &p);
|
||||
n += 2 + j;
|
||||
nl += 2 + j;
|
||||
} else {
|
||||
d = p;
|
||||
i2d_X509_NAME(name, &p);
|
||||
j -= 2;
|
||||
s2n(j, d);
|
||||
j += 2;
|
||||
n += j;
|
||||
nl += j;
|
||||
}
|
||||
s2n(j, p);
|
||||
i2d_X509_NAME(name, &p);
|
||||
n += 2 + j;
|
||||
nl += 2 + j;
|
||||
}
|
||||
}
|
||||
/* else no CA names */
|
||||
|
Reference in New Issue
Block a user