Browse Subversion RepositoryLog of /trunk/libs/buildlibressl.bat
Revision 9692 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jan 16 15:16:19 2022 UTC (2 years, 2 months ago) by nmaya File length: 1453 byte(s) Copied from: branches/libressl_3_4_2/libs/buildlibressl.bat revision 9624 Diff to previous 9623 暗号ライブラリを OpenSSL から LibreSSL に変更 #43469 merge from libressl_3_4_2: r9623,r9624,r9637,r9648,r9658,r9660,r9676,r9677,r9679,r9680,r9683 Revision 9623 - (view) (download) (as text) (annotate) - [select for diffs] Added Thu Dec 23 16:03:30 2021 UTC (2 years, 3 months ago) by nmaya Original Path: branches/libressl_3_4_2/libs/buildlibressl.bat File length: 510 byte(s) LibreSSL に対応 - OpenSSL 1.1 に移行したときに OpenSSL の関数に置き換えた EVP_CIPHER_meth_ で始まる関数が LibreSSL にはないため、元に戻した。 https://osdn.net/projects/ttssh2/svn/view/trunk/ttssh2/ttxssh/cipher-ctr.c?root=ttssh2&r1=6229&r2=8316 https://osdn.net/projects/ttssh2/svn/view/trunk/ttssh2/ttxssh/ttxssh.c?root=ttssh2&r1=8273&r2=8316 - LibreSSL の RAND_bytes() の中で落ちるので、BCryptGenRandom() を使うようにした RAND_bytes() を呼んでいるのは _rs_stir() の中 OpenSSH の openbsd-compat/arc4random.c は、OpenSSL ではないときに RAND_bytes() を呼んでいない https://anongit.mindrot.org/openssh.git/tree/openbsd-compat/arc4random.c OpenBSD の lib/libc/crypt/arc4random.c, lib/libcrypto/arc4random/getentropy_win.c では BCryptGenRandom() を呼んでいる https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/crypt/arc4random.c?annotate=1.55 https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libcrypto/arc4random/getentropy_win.c?annotate=1.6 BCryptGenRandom() を呼ぶので、動作するのは Windows Vista 以上となる This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|