diff options
Diffstat (limited to 'third_party/build/os-auto.mak.in')
-rw-r--r-- | third_party/build/os-auto.mak.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/build/os-auto.mak.in b/third_party/build/os-auto.mak.in index ef261f65..66653fa1 100644 --- a/third_party/build/os-auto.mak.in +++ b/third_party/build/os-auto.mak.in @@ -35,6 +35,22 @@ ifeq (@ac_external_srtp@,1) # External SRTP else DIRS += srtp + +ifeq (@ac_ssl_has_aes_gcm@,0) +CIPHERS_SRC = crypto/cipher/aes.o crypto/cipher/aes_icm.o \ + crypto/cipher/aes_cbc.o +HASHES_SRC = crypto/hash/sha1.o crypto/hash/hmac.o \ + # crypto/hash/tmmhv2.o +RNG_SRC = crypto/rng/rand_source.o crypto/rng/prng.o \ + crypto/rng/ctr_prng.o +else +CIPHERS_SRC = crypto/cipher/aes_icm_ossl.o crypto/cipher/aes_gcm_ossl.o +HASHES_SRC = crypto/hash/hmac_ossl.o +RNG_SRC = crypto/rng/rand_source_ossl.o +SRTP_OTHER_CFLAGS = -DOPENSSL +endif + + endif ifeq (@ac_pjmedia_resample@,libresample) |