[BACK]Return to s_client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/s_client.c between version 1.6 and 1.7

version 1.6, 2014/11/06 14:50:12 version 1.7, 2014/11/07 14:16:48
Line 638 
Line 638 
                 goto end;                  goto end;
         }          }
   
 #if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG)  #if !defined(OPENSSL_NO_NEXTPROTONEG)
         next_proto.status = -1;          next_proto.status = -1;
         if (next_proto_neg_in) {          if (next_proto_neg_in) {
                 next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in);                  next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in);
Line 734 
Line 734 
         if (socket_type == SOCK_DGRAM)          if (socket_type == SOCK_DGRAM)
                 SSL_CTX_set_read_ahead(ctx, 1);                  SSL_CTX_set_read_ahead(ctx, 1);
   
 #if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG)  #if !defined(OPENSSL_NO_NEXTPROTONEG)
         if (next_proto.data)          if (next_proto.data)
                 SSL_CTX_set_next_proto_select_cb(ctx, next_proto_cb, &next_proto);                  SSL_CTX_set_next_proto_select_cb(ctx, next_proto_cb, &next_proto);
 #endif  #endif
Line 1243 
Line 1243 
                         print_stuff(bio_c_out, con, 1);                          print_stuff(bio_c_out, con, 1);
                 SSL_free(con);                  SSL_free(con);
         }          }
 #if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG)  #if !defined(OPENSSL_NO_NEXTPROTONEG)
         free(next_proto.data);          free(next_proto.data);
 #endif  #endif
         if (ctx != NULL)          if (ctx != NULL)
Line 1399 
Line 1399 
         }          }
 #endif  #endif
   
 #if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG)  #if !defined(OPENSSL_NO_NEXTPROTONEG)
         if (next_proto.status != -1) {          if (next_proto.status != -1) {
                 const unsigned char *proto;                  const unsigned char *proto;
                 unsigned int proto_len;                  unsigned int proto_len;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7