From: Marc Dionne Date: Tue, 4 Sep 2012 23:48:12 +0000 (-0400) Subject: crypto: Fix assert macro X-Git-Tag: upstream/1.8.0_pre1^2~2050 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=dd48cd3c67cd0a6d71f6f9bea5fd34dcddeefeeb;p=packages%2Fo%2Fopenafs.git crypto: Fix assert macro Commit ab977738b inadvertently changed osi_Assert to opr_Assert for kernel code, causing the kernel build to produce an unloadable module with undefined symbols. Change-Id: I792359974ef21db97267847dfdf6c4b17c84328a Reviewed-on: http://gerrit.openafs.org/8039 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- diff --git a/src/crypto/hcrypto/kernel/config.h b/src/crypto/hcrypto/kernel/config.h index 7cae6ceb7..d9c58c5a3 100644 --- a/src/crypto/hcrypto/kernel/config.h +++ b/src/crypto/hcrypto/kernel/config.h @@ -34,7 +34,7 @@ #if defined(assert) #undef assert #endif -#define assert opr_Assert +#define assert osi_Assert /* hcrypto uses "static inline", which isn't supported by some of our * compilers */