Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0
@@ -56,12 +56,12 @@
* [including the GNU Public Licence.]
*/
#include <stdio.h>
#include <openssl/bn.h>
-#include "cryptlib.h"
-#include "bn_lcl.h"
+#include <cryptlib.h>
+#include <bn_lcl.h>
/* The old slow way */
#if 0
int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
@@ -141,11 +141,11 @@
*
* <appro@fy.chalmers.se>
*/
#undef bn_div_words
# define bn_div_words(n0,n1,d0) \
- ({ asm volatile ( \
+ ({ __asm volatile ( \
"divl %4" \
: "=a"(q), "=d"(rem) \
: "a"(n1), "d"(n0), "g"(d0) \
: "cc"); \
q; \
@@ -156,11 +156,11 @@
* Same story here, but it's 128-bit by 64-bit division. Wow!
* <appro@fy.chalmers.se>
*/
# undef bn_div_words
# define bn_div_words(n0,n1,d0) \
- ({ asm volatile ( \
+ ({ __asm volatile ( \
"divq %4" \
: "=a"(q), "=d"(rem) \
: "a"(n1), "d"(n0), "g"(d0) \
: "cc"); \
q; \