algorithms field has changed in 1.0.0 and later: update
authorDr. Stephen Henson <steve@openssl.org>
Sun, 28 Feb 2010 00:24:04 +0000 (00:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 28 Feb 2010 00:24:04 +0000 (00:24 +0000)
ssl/s3_clnt.c

index 3f87da58c027650d7c88fc1a7e84bd26fec25e30..41769febab79f5bfe70d92b46b1f777c1a0ca654 100644 (file)
@@ -982,7 +982,7 @@ int ssl3_get_server_certificate(SSL *s)
        if (!ok) return((int)n);
 
        if ((s->s3->tmp.message_type == SSL3_MT_SERVER_KEY_EXCHANGE) ||
-               ((s->s3->tmp.new_cipher->algorithms & SSL_aKRB5) && 
+               ((s->s3->tmp.new_cipher->algorithm_auth & SSL_aKRB5) && 
                (s->s3->tmp.message_type == SSL3_MT_SERVER_DONE)))
                {
                s->s3->tmp.reuse_message=1;