From: Dr. Stephen Henson Date: Tue, 1 Dec 2009 18:40:50 +0000 (+0000) Subject: Ooops... X-Git-Tag: OpenSSL-fips-2_0-rc1~1415 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=7f354fa42d32a751a6ae2968f8a8c4289a05aadb;hp=6732e14278fafe80408ec48974c4b232f75a6739 Ooops... --- diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index b611c7cf01..b3b356d5ab 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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); } diff --git a/ssl/tls1.h b/ssl/tls1.h index fb6e817176..b3cc8f098b 100644 --- a/ssl/tls1.h +++ b/ssl/tls1.h @@ -287,13 +287,6 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb) #endif -/* Renegotiation indicator "magic" ciphersuite from - * "draft-ietf-tls-renegotiation" (FIXME: put RFC# in here when ready) - * FIXME: put correct ciphersuite number in here when available. - */ - -#define OPENSSL_RI_MAGIC 0x03000FEC - /* PSK ciphersuites from 4279 */ #define TLS1_CK_PSK_WITH_RC4_128_SHA 0x0300008A #define TLS1_CK_PSK_WITH_3DES_EDE_CBC_SHA 0x0300008B