Skip to content
  1. Apr 13, 2016
  2. Apr 11, 2016
  3. Apr 09, 2016
    • Emilia Kasper's avatar
      Disable some sanitizer checks without PEDANTIC · cdbf5779
      Emilia Kasper authored
      
      
      Code without PEDANTIC has intentional "undefined" behaviour. To get best
      coverage for both PEDANTIC and non-PEDANTIC codepaths, run the sanitizer
      builds in two different configurations:
      1) Without PEDANTIC but with alignment checks disabled.
      2) With PEDANTIC.
      
      To not overload Travis too much, run one build with clang and the other
      with gcc (chosen at random).
      
      Also remove a micro-optimization in CAST code to be able to
      -fsanitize=shift. Whether shift sanitization is meaningful for crypto or
      an obstacle is debatable but since this appears to be the only offender,
      we might as well keep the check for now.
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      cdbf5779