padlock - get rid of __GNUCLIKE_ASM #ifdefs
authorAlex Hornung <ahornung@gmail.com>
Fri, 20 Aug 2010 20:09:52 +0000 (21:09 +0100)
committerAlex Hornung <ahornung@gmail.com>
Fri, 20 Aug 2010 20:12:48 +0000 (21:12 +0100)
commita79f55e03325d2294bcc475dc7a7a55a3c910e9c
tree5f382d58e78a296d61e8938a8652dc09253d3840
parent345ee1fbc233997066e5042695d9c4a5a299803c
padlock - get rid of __GNUCLIKE_ASM #ifdefs

* Remove the uses of __GNUCLIKE_ASM, as we don't define it and in any
  case it only causes problems.

* If it wasn't defined, it would cause encryption to succeed but without
  encrypting anything, potentially leaking private information. Since on
  DragonFly this define doesn't exist, this would always be the case.

Reported-by: Jan Lentfer (lentferj@)
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1638
sys/crypto/via/padlock_cipher.c
sys/crypto/via/padlock_hash.c