X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/7948e047ad0cdb129f10661905b2f3eecd5c85a0..df0e469fdcf0e0b3ef74bac6500e5751c40b4ec1:/AppleCSP/MiscCSPAlgs/desContext.cpp diff --git a/AppleCSP/MiscCSPAlgs/desContext.cpp b/AppleCSP/MiscCSPAlgs/desContext.cpp index dfa759c8..d17133a6 100644 --- a/AppleCSP/MiscCSPAlgs/desContext.cpp +++ b/AppleCSP/MiscCSPAlgs/desContext.cpp @@ -28,7 +28,7 @@ ModuleNexus desInitMutex; -#define DESDebug(args...) debug("desContext", ## args) +#define DESDebug(args...) secdebug("desContext", ## args) /* * DES encrypt/decrypt. @@ -61,7 +61,7 @@ void DESContext::init( /* init the low-level state */ { StLock _(desInitMutex()); - if(int irtn = desinit(&DesInst, DES_MODE_STD)) { + if(IFDEBUG(int irtn =) desinit(&DesInst, DES_MODE_STD)) { DESDebug("desinit returned %d\n", irtn); CssmError::throwMe(CSSMERR_CSP_MEMORY_ERROR); }