275. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/25/2018 2:13:25 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

275.1 Files compared

# Location File Last Modified
1 build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\sun\security\ssl ExtendedMasterSecretExtension.java Mon Jan 22 14:46:54 2018 UTC
2 build 3.zip\build 3\MHLTH_YS_137_Source\JavaScript\resources\javaJDF-1.8.0\src\sun\security\ssl ExtendedMasterSecretExtension.java Wed Sep 12 17:54:35 2018 UTC

275.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 138
Changed 1 2
Inserted 0 0
Removed 0 0

275.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

275.4 Active regular expressions

No regular expressions were active.

275.5 Comparison detail

  1   /*
  2    * Copyrig ht (c) 201 7, Red Hat , Inc. and /or its af filiates.
  3    *
  4    * DO NOT  ALTER OR R EMOVE COPY RIGHT NOTI CES OR THI S FILE HEA DER.
  5    *
  6    * This co de is free  software;  you can r edistribut e it and/o r modify i t
  7    * under t he terms o f the GNU  General Pu blic Licen se version  2 only, a s
  8    * publish ed by the  Free Softw are Founda tion.
  9    *
  10    * This co de is dist ributed in  the hope  that it wi ll be usef ul, but WI THOUT
  11    * ANY WAR RANTY; wit hout even  the implie d warranty  of MERCHA NTABILITY  or
  12    * FITNESS  FOR A PAR TICULAR PU RPOSE.  Se e the GNU  General Pu blic Licen se
  13    * version  2 for mor e details  (a copy is  included  in the LIC ENSE file  that
  14    * accompa nied this  code).
  15    *
  16    * You sho uld have r eceived a  copy of th e GNU Gene ral Public  License v ersion
  17    * 2 along  with this  work; if  not, write  to the Fr ee Softwar e Foundati on,
  18    * Inc., 5 1 Franklin  St, Fifth  Floor, Bo ston, MA 0 2110-1301  USA.
  19    *
  20    * Please  contact Or acle, 500  Oracle Par kway, Redw ood Shores , CA 94065  USA
  21    * or visi t www.orac le.com if  you need a dditional  informatio n or have  any
  22    * questio ns.
  23    */
  24  
  25   package su n.security .ssl;
  26  
  27   import jav a.io.IOExc eption;
  28   import jav ax.net.ssl .SSLProtoc olExceptio n;
  29  
  30   /**
  31    * Extende d Master S ecret TLS  extension  (TLS 1.0+) . This ext ension
  32    * defines  how to ca lculate th e TLS conn ection mas ter  PW        and
  33    * mitigat es some ty pes of man -in-the-mi ddle attac ks.
  34    *
  35    * See fur ther infor mation in
  36    * <a href ="https:// tools.ietf .org/html/ rfc7627">R FC 7627</a >.
  37    *
  38    * @author  Martin Ba lao (mbala o@redhat.c om)
  39    */
  40   final clas s Extended MasterSecr etExtensio n extends  HelloExten sion {
  41       Extend edMasterSe cretExtens ion() {
  42           su per(Extens ionType.EX T_EXTENDED _MASTER_SE CRET);
  43       }
  44  
  45       Extend edMasterSe cretExtens ion(Handsh akeInStrea m s,
  46                int len)  throws IO Exception  {
  47           su per(Extens ionType.EX T_EXTENDED _MASTER_SE CRET);
  48  
  49           if  (len != 0 ) {
  50                throw ne w SSLProto colExcepti on("Invali d " + type  + " exten sion");
  51           }
  52       }
  53  
  54       @Overr ide
  55       int le ngth() {
  56           re turn 4;        // 4:  extension  type and l ength fiel ds
  57       }
  58  
  59       @Overr ide
  60       void s end(Handsh akeOutStre am s) thro ws IOExcep tion {
  61           s. putInt16(t ype.id);     // Exten sionType e xtension_t ype;
  62           s. putInt16(0 );           // exten sion_data  length
  63       }
  64  
  65       @Overr ide
  66       public  String to String() {
  67           re turn "Exte nsion " +  type;
  68       }
  69   }
  70