]> git.proxmox.com Git - grub2.git/blame - util/import_gcrypth.sed
fs/ntfs: Fix various OOB reads and writes (CVE-2023-4692, CVE-2023-4693)
[grub2.git] / util / import_gcrypth.sed
CommitLineData
5e3b8dcb
VS
1/^#@INSERT_SYS_SELECT_H@/ d
2/^@FALLBACK_SOCKLEN_T@/ d
4d7219f9
VS
3/^# *include <stdlib\.h>/ d
4/^# *include <string\.h>/ d
5/^# *include <winsock2\.h>/ d
6/^# *include <ws2tcpip\.h>/ d
7/^# *include <time\.h>/ d
8/^# *include <sys\/socket\.h>/ d
9/^# *include <sys\/time\.h>/ d
d1307d87
VS
10/^ typedef long ssize_t;/ d
11/^ typedef int pid_t;/ d
4d7219f9 12/^# *include <gpg-error\.h>/ s,#include <gpg-error.h>,#include <grub/gcrypt/gpg-error.h>,
4a9950ec
VS
13/^typedef gpg_error_t gcry_error_t;/ d
14/^typedef gpg_err_code_t gcry_err_code_t;/ d
15/^typedef struct gcry_mpi \*gcry_mpi_t;/ d
d1307d87 16/^struct gcry_thread_cbs/ d
5e3b8dcb
VS
17s,_gcry_mpi_invm,gcry_mpi_invm,g
18p