소스 검색

Support CHACHA20+POLY1305 thanks to CloudFlare patch

v1
Aeris 5 년 전
부모
커밋
2c7ed5307e
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -1
      Makefile

+ 5
- 1
Makefile 파일 보기

@@ -34,11 +34,15 @@ mr-proper:
build/:
mkdir $@

build/chacha-poly.patch: | build/
wget https://github.com/cloudflare/sslconfig/raw/master/patches/openssl__chacha20_poly1305_draft_and_rfc_ossl102g.patch -O $@

build/$(OPENSSL_NAME).tar.gz: | build/
wget https://www.openssl.org/source/$(OPENSSL_NAME).tar.gz -O $@

$(OPENSSL_DIR)/: build/$(OPENSSL_NAME).tar.gz
$(OPENSSL_DIR)/: build/$(OPENSSL_NAME).tar.gz build/chacha-poly.patch
tar -C build -xf build/$(OPENSSL_NAME).tar.gz
patch -d $(OPENSSL_DIR) -p1 < build/chacha-poly.patch

$(OPENSSL_DIR)/Makefile: | $(OPENSSL_DIR)/
cd $(OPENSSL_DIR); ./Configure enable-ssl3 enable-ssl2 enable-shared linux-x86_64


불러오는 중...
취소
저장