VirtualBox

source: vbox/trunk/src/libs/openssl-3.1.7/HACKING.md@ 105945

最後變更 在這個檔案從105945是 104078,由 vboxsync 提交於 8 月 前

openssl-3.1.5: Applied and adjusted our OpenSSL changes to 3.1.4. bugref:10638

檔案大小: 1.2 KB
 
1MODIFYING OPENSSL SOURCE
2========================
3
4This document describes the way to add custom modifications to OpenSSL sources.
5
6 If you are adding new public functions to the custom library build, you need to
7 either add a prototype in one of the existing OpenSSL header files;
8 or provide a new header file and edit
9 [Configurations/unix-Makefile.tmpl](Configurations/unix-Makefile.tmpl)
10 to pick up that file.
11
12 After that, perform the following steps:
13
14 ./Configure -Werror --strict-warnings [your-options]
15 make update
16 make
17 make test
18
19 `make update` ensures that your functions declarations are added to
20 `util/libcrypto.num` or `util/libssl.num`.
21 If you plan to submit the changes you made to OpenSSL
22 (see [CONTRIBUTING.md](CONTRIBUTING.md)), it's worth running:
23
24 make doc-nits
25
26 after running `make update` to ensure that documentation has correct format.
27
28 `make update` also generates files related to OIDs (in the `crypto/objects/`
29 folder) and errors.
30 If a merge error occurs in one of these generated files, then the
31 generated files need to be removed and regenerated using `make update`.
32 To aid in this process, the generated files can be committed separately
33 so they can be removed easily.
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette