File tree Expand file tree Collapse file tree 5 files changed +2
-372
lines changed
test/sanitizer_common/TestCases/FreeBSD Expand file tree Collapse file tree 5 files changed +2
-372
lines changed Original file line number Diff line number Diff line change 552552#define SANITIZER_INTERCEPT_SHA1 SI_NETBSD
553553#define SANITIZER_INTERCEPT_MD4 SI_NETBSD
554554#define SANITIZER_INTERCEPT_RMD160 SI_NETBSD
555- #define SANITIZER_INTERCEPT_MD5 ( SI_NETBSD || SI_FREEBSD)
555+ #define SANITIZER_INTERCEPT_MD5 SI_NETBSD
556556#define SANITIZER_INTERCEPT_FSEEK (SI_NETBSD || SI_FREEBSD)
557557#define SANITIZER_INTERCEPT_MD2 SI_NETBSD
558- #define SANITIZER_INTERCEPT_SHA2 ( SI_NETBSD || SI_FREEBSD)
558+ #define SANITIZER_INTERCEPT_SHA2 SI_NETBSD
559559#define SANITIZER_INTERCEPT_CDB SI_NETBSD
560560#define SANITIZER_INTERCEPT_VIS (SI_NETBSD || SI_FREEBSD)
561561#define SANITIZER_INTERCEPT_POPEN SI_POSIX
Original file line number Diff line number Diff line change 6969#include < semaphore.h>
7070#include < signal.h>
7171#include < stddef.h>
72- #include < md5.h>
73- #include < sha224.h>
74- #include < sha256.h>
75- #include < sha384.h>
76- #include < sha512.h>
7772#include < stdio.h>
7873#include < stringlist.h>
7974#include < term.h>
@@ -366,22 +361,6 @@ const int si_SEGV_MAPERR = SEGV_MAPERR;
366361const int si_SEGV_ACCERR = SEGV_ACCERR;
367362const int unvis_valid = UNVIS_VALID;
368363const int unvis_validpush = UNVIS_VALIDPUSH;
369-
370- const unsigned MD5_CTX_sz = sizeof (MD5_CTX);
371- const unsigned MD5_return_length = MD5_DIGEST_STRING_LENGTH;
372-
373- #define SHA2_CONST (LEN ) \
374- const unsigned SHA##LEN##_CTX_sz = sizeof (SHA##LEN##_CTX); \
375- const unsigned SHA##LEN##_return_length = SHA##LEN##_DIGEST_STRING_LENGTH; \
376- const unsigned SHA##LEN##_block_length = SHA##LEN##_BLOCK_LENGTH; \
377- const unsigned SHA##LEN##_digest_length = SHA##LEN##_DIGEST_LENGTH
378-
379- SHA2_CONST (224 );
380- SHA2_CONST (256 );
381- SHA2_CONST (384 );
382- SHA2_CONST (512 );
383-
384- #undef SHA2_CONST
385364} // namespace __sanitizer
386365
387366using namespace __sanitizer ;
Original file line number Diff line number Diff line change @@ -647,22 +647,6 @@ extern unsigned IOCTL_KDSKBMODE;
647647extern const int si_SEGV_MAPERR;
648648extern const int si_SEGV_ACCERR;
649649
650- extern const unsigned MD5_CTX_sz;
651- extern const unsigned MD5_return_length;
652-
653- #define SHA2_EXTERN (LEN ) \
654- extern const unsigned SHA##LEN##_CTX_sz; \
655- extern const unsigned SHA##LEN##_return_length; \
656- extern const unsigned SHA##LEN##_block_length; \
657- extern const unsigned SHA##LEN##_digest_length
658-
659- SHA2_EXTERN (224 );
660- SHA2_EXTERN (256 );
661- SHA2_EXTERN (384 );
662- SHA2_EXTERN (512 );
663-
664- #undef SHA2_EXTERN
665-
666650struct __sanitizer_cap_rights {
667651 u64 cr_rights[2 ];
668652};
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments