qemu-e2k/include
Mike Frysinger c8d70e5973 crypto: aes: always rename internal symbols
OpenSSL's libcrypto always defines AES symbols with the same names as
qemu's local aes code.  This is problematic when enabling at least curl
as that frequently also uses libcrypto.  It might not be noticed when
running, but if you try to statically link, everything falls down.

An example snippet:
  LINK  qemu-nbd
.../libcrypto.a(aes-x86_64.o): In function 'AES_encrypt':
(.text+0x460): multiple definition of 'AES_encrypt'
crypto/aes.o:aes.c:(.text+0x670): first defined here
.../libcrypto.a(aes-x86_64.o): In function 'AES_decrypt':
(.text+0x9f0): multiple definition of 'AES_decrypt'
crypto/aes.o:aes.c:(.text+0xb30): first defined here
.../libcrypto.a(aes-x86_64.o): In function 'AES_cbc_encrypt':
(.text+0xf90): multiple definition of 'AES_cbc_encrypt'
crypto/aes.o:aes.c:(.text+0xff0): first defined here
collect2: error: ld returned 1 exit status
.../qemu-2.6.0/rules.mak:105: recipe for target 'qemu-nbd' failed
make: *** [qemu-nbd] Error 1

The aes.h header has redefines already for FreeBSD, but go ahead and
enable that for everyone since there's no real good reason to not use
a namespace all the time.

Signed-off-by: Mike Frysinger <vapier@chromium.org>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-06-13 12:41:17 +01:00
..
block block: Kill bdrv_co_write_zeroes() 2016-06-08 10:21:08 +02:00
crypto crypto: aes: always rename internal symbols 2016-06-13 12:41:17 +01:00
disas qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
exec tb hash: track translated blocks with qht 2016-06-11 17:11:16 -07:00
fpu
hw trivial patches for 2016-06-07 2016-06-07 16:34:45 +01:00
io Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
libdecnumber
migration vmstate: Define VARRAY with VMS_ALLOC 2016-06-07 10:17:45 +10:00
monitor
net net_pkt: Extend packet abstraction as required by e1000e functionality 2016-06-02 10:42:28 +08:00
qapi migration: add reporting of errors for outgoing migration 2016-05-26 11:31:30 +05:30
qemu qht: QEMU's fast, resizable and scalable Hash Table 2016-06-11 23:10:20 +00:00
qom all: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
standard-headers update Linux headers to 4.6 2016-04-05 11:46:52 +02:00
sysemu all: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
ui spice: Initialization stubs on qemu-spice.h 2016-05-20 14:28:53 -03:00
elf.h
glib-compat.h
qemu-common.h qemu-common.h: Drop WORDS_ALIGNED define 2016-06-07 18:19:24 +03:00
qemu-io.h
trace-tcg.h
trace.h