crypto: Fix assert macro
authorMarc Dionne <marc.c.dionne@gmail.com>
Tue, 4 Sep 2012 23:48:12 +0000 (19:48 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Wed, 5 Sep 2012 02:39:06 +0000 (19:39 -0700)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

src/crypto/hcrypto/kernel/config.h

index 7cae6ce..d9c58c5 100644 (file)
@@ -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 */