The dummy constants have moved to oath_constants.h.
Add annotation macros for coverage analysis. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@774 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
c5265319ff
commit
183cc6d511
|
@ -32,11 +32,21 @@
|
||||||
#ifndef OATH_IMPL_H_INCLUDED
|
#ifndef OATH_IMPL_H_INCLUDED
|
||||||
#define OATH_IMPL_H_INCLUDED
|
#define OATH_IMPL_H_INCLUDED
|
||||||
|
|
||||||
|
#if _BullseyeCoverage
|
||||||
|
#define COVERAGE_DISABLE _Pragma("BullseyeCoverage save off")
|
||||||
|
#define COVERAGE_RESTORE _Pragma("BullseyeCoverage restore")
|
||||||
|
#else
|
||||||
|
#define COVERAGE_DISABLE
|
||||||
|
#define COVERAGE_RESTORE
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Dummy key parameters
|
* Use at end of switch which has no default case
|
||||||
*/
|
*/
|
||||||
#define OATH_DUMMY_LABEL ("oath-dummy-key")
|
#define COVERAGE_NO_DEFAULT_CASE \
|
||||||
#define OATH_DUMMY_LABELLEN (sizeof DUMMY_LABEL)
|
COVERAGE_DISABLE \
|
||||||
#define OATH_DUMMY_KEYLEN 80
|
default: \
|
||||||
|
(void)0; \
|
||||||
|
COVERAGE_RESTORE
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue