Update from 1.0.0-stable.
This commit is contained in:
12
ssl/s3_lib.c
12
ssl/s3_lib.c
@@ -3087,6 +3087,18 @@ int ssl3_get_req_cert_type(SSL *s, unsigned char *p)
|
||||
|
||||
alg_k = s->s3->tmp.new_cipher->algorithm_mkey;
|
||||
|
||||
#ifndef OPENSSL_NO_GOST
|
||||
if (s->version >= TLS1_VERSION)
|
||||
{
|
||||
if (alg_k & SSL_kGOST)
|
||||
{
|
||||
p[ret++]=TLS_CT_GOST94_SIGN;
|
||||
p[ret++]=TLS_CT_GOST01_SIGN;
|
||||
return(ret);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef OPENSSL_NO_DH
|
||||
if (alg_k & (SSL_kDHr|SSL_kEDH))
|
||||
{
|
||||
|
Reference in New Issue
Block a user