[openssl-dev] [openssl.org #4484] Ubuntu i686: engines/afalg/e_afalg.c does not respect no-asm

noloader@gmail.com via RT rt at openssl.org
Fri Mar 25 15:11:38 UTC 2016


Working from Master at 7793e17440539b7. x86_64 is OK.

To get to e_afalg.c in the compile, you will need to change "inline"
-> "ossl_inline".


$ ./config shared no-asm -ansi -D_DEFAULT_SOURCE=__STRICT_ANSI__
...

$ make
...

engines/afalg/e_afalg.c: In function ‘afalg_fin_cipher_aio’:
engines/afalg/e_afalg.c:275:19: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
     cb->aio_buf = (uint64_t)buf;
                   ^
engines/afalg/e_afalg.c: At top level:
engines/afalg/e_afalg.c:355:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘void’
 static inline void afalg_set_op_sk(struct cmsghdr *cmsg,
               ^
engines/afalg/e_afalg.c:377:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘int’
 static inline int afalg_set_key(afalg_ctx *actx, const unsigned char *key,
               ^
engines/afalg/e_afalg.c: In function ‘afalg_start_cipher_sk’:
engines/afalg/e_afalg.c:460:5: warning: implicit declaration of
function ‘afalg_set_op_sk’ [-Wimplicit-function-declaration]
     afalg_set_op_sk(cmsg, enc);
     ^
engines/afalg/e_afalg.c: In function ‘afalg_cipher_init’:
engines/afalg/e_afalg.c:572:11: warning: implicit declaration of
function ‘afalg_set_key’ [-Wimplicit-function-declaration]
     ret = afalg_set_key(actx, key, EVP_CIPHER_CTX_key_length(ctx));
           ^
Makefile:5804: recipe for target 'engines/afalg/e_afalg.o' failed
make: *** [engines/afalg/e_afalg.o] Error 1


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4484
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list