This commit is contained in:
Dr. Stephen Henson
2009-12-01 18:40:50 +00:00
parent 6732e14278
commit 7f354fa42d
2 changed files with 0 additions and 22 deletions

View File

@@ -1357,21 +1357,6 @@ int ssl_cipher_list_to_bytes(SSL *s,STACK_OF(SSL_CIPHER) *sk,unsigned char *p,
j = put_cb ? put_cb(c,p) : ssl_put_cipher_by_char(s,c,p);
p+=j;
}
#ifdef OPENSSL_RI_MAGIC
if (p == q)
return 0;
else
{
/* Bogus "cipher" to send out RI indicator */
static SSL_CIPHER ri =
{
0, NULL, OPENSSL_RI_MAGIC, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
j = put_cb ? put_cb(&ri,p) : ssl_put_cipher_by_char(s,&ri,p);
p+=j;
}
#endif
return(p-q);
}