Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'], chrootPath='/var/lib/mock/f41-build-837949-159471/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/ghc-HsOpenSSL-0.11.7.7-1.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'], chrootPath='/var/lib/mock/f41-build-837949-159471/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-HsOpenSSL.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.L3l1np + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + test -d /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + /usr/bin/rm -rf /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z9zY0E + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + rm -rf HsOpenSSL-0.11.7.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/HsOpenSSL-0.11.7.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd HsOpenSSL-0.11.7.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m6Ab9g + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd HsOpenSSL-0.11.7.7 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') ==== Build HsOpenSSL-0.11.7.7 ==== + '[' -f AUTHORS -a -x AUTHORS ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f ChangeLog -a -x ChangeLog ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + echo -e '\n==== Build HsOpenSSL-0.11.7.7 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-HsOpenSSL '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.6/lib --enable-tests --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optc-mno-omit-leaf-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' --ghc-option=-optc=-Wno-incompatible-pointer-types --enable-library-profiling --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.7 --global Configuring HsOpenSSL-0.11.7.7... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for HsOpenSSL-0.11.7.7.. Building library for HsOpenSSL-0.11.7.7.. [ 1 of 33] Compiling OpenSSL [ 2 of 33] Compiling OpenSSL.DH.Internal /tmp/ghc61690_0/ghc_40.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree’: /tmp/ghc61690_0/ghc_40.c:10:1: error: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^~~~ | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^ In file included from /tmp/ghc61690_0/ghc_40.c:8:0: error: /usr/include/openssl/dh.h:207:28: error: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ | 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^ /tmp/ghc61690_0/ghc_49.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree’: /tmp/ghc61690_0/ghc_49.c:10:1: error: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^~~~ | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^ In file included from /tmp/ghc61690_0/ghc_49.c:8:0: error: /usr/include/openssl/dh.h:207:28: error: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ | 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^ [ 3 of 33] Compiling OpenSSL.ERR [ 4 of 33] Compiling OpenSSL.EVP.Base64 /tmp/ghc61690_0/ghc_76.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock’: /tmp/ghc61690_0/ghc_76.c:9:173: error: warning: pointer targets in passing argument 1 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_76.c:8:0: error: /usr/include/openssl/evp.h:882:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc61690_0/ghc_76.c:9:177: error: warning: pointer targets in passing argument 2 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:882:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc61690_0/ghc_76.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock’: /tmp/ghc61690_0/ghc_76.c:11:173: error: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:875:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc61690_0/ghc_76.c:11:177: error: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:875:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc61690_0/ghc_85.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock’: /tmp/ghc61690_0/ghc_85.c:9:173: error: warning: pointer targets in passing argument 1 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_85.c:8:0: error: /usr/include/openssl/evp.h:882:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc61690_0/ghc_85.c:9:177: error: warning: pointer targets in passing argument 2 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:882:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc61690_0/ghc_85.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock’: /tmp/ghc61690_0/ghc_85.c:11:173: error: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:875:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc61690_0/ghc_85.c:11:177: error: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:875:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ [ 5 of 33] Compiling OpenSSL.Objects [ 6 of 33] Compiling OpenSSL.SSL.Option [ 7 of 33] Compiling OpenSSL.Stack [ 8 of 33] Compiling OpenSSL.Utils [ 9 of 33] Compiling OpenSSL.Random /tmp/ghc61690_0/ghc_150.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes’: /tmp/ghc61690_0/ghc_150.c:11:1: error: warning: ‘RAND_pseudo_bytes’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~~~ | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ In file included from /tmp/ghc61690_0/ghc_150.c:8:0: error: /usr/include/openssl/rand.h:79:29: error: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ | 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^ /tmp/ghc61690_0/ghc_150.c:11:153: error: warning: pointer targets in passing argument 1 of ‘RAND_pseudo_bytes’ differ in signedness [-Wpointer-sign] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~ | | | char * | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:79:62: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^ /tmp/ghc61690_0/ghc_150.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes’: /tmp/ghc61690_0/ghc_150.c:13:148: error: warning: pointer targets in passing argument 1 of ‘RAND_bytes’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:61:31: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 61 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 61 | int RAND_bytes(unsigned char *buf, int num); | ^ /tmp/ghc61690_0/ghc_159.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes’: /tmp/ghc61690_0/ghc_159.c:11:1: error: warning: ‘RAND_pseudo_bytes’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~~~ | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ In file included from /tmp/ghc61690_0/ghc_159.c:8:0: error: /usr/include/openssl/rand.h:79:29: error: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ | 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^ /tmp/ghc61690_0/ghc_159.c:11:153: error: warning: pointer targets in passing argument 1 of ‘RAND_pseudo_bytes’ differ in signedness [-Wpointer-sign] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~ | | | char * | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:79:62: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^ /tmp/ghc61690_0/ghc_159.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes’: /tmp/ghc61690_0/ghc_159.c:13:148: error: warning: pointer targets in passing argument 1 of ‘RAND_bytes’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:61:31: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 61 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 61 | int RAND_bytes(unsigned char *buf, int num); | ^ [10 of 33] Compiling OpenSSL.EVP.Internal /tmp/ghc61690_0/ghc_168.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal’: /tmp/ghc61690_0/ghc_168.c:16:1: error: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~~~~~~~ | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_168.c:14:0: error: /usr/include/openssl/hmac.h:47:27: error: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ | 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^ /tmp/ghc61690_0/ghc_168.c:16:171: error: warning: pointer targets in passing argument 2 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | char * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:47:68: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^ /tmp/ghc61690_0/ghc_168.c:16:175: error: warning: pointer targets in passing argument 3 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | int * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:48:52: error: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 48 | unsigned int *len); | ~~~~~~~~~~~~~~^~~ | 48 | unsigned int *len); | ^ /tmp/ghc61690_0/ghc_168.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate’: /tmp/ghc61690_0/ghc_168.c:19:1: error: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~~~~~~ | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:27: error: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ | 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^ /tmp/ghc61690_0/ghc_168.c:19:175: error: warning: pointer targets in passing argument 2 of ‘HMAC_Update’ differ in signedness [-Wpointer-sign] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~ | | | char * | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:75: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^ /tmp/ghc61690_0/ghc_168.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit’: /tmp/ghc61690_0/ghc_168.c:23:1: error: warning: ‘HMAC_Init’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^~~~~~~ | 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^ /usr/include/openssl/hmac.h:38:36: error: note: declared here 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^~~~~~~~~ | 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^ /tmp/ghc61690_0/ghc_168.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal’: /tmp/ghc61690_0/ghc_168.c:29:191: error: warning: pointer targets in passing argument 2 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign] 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^~ | | | char * | 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_168.c:8:0: error: /usr/include/openssl/evp.h:730:60: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 730 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 730 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ^ /tmp/ghc61690_0/ghc_168.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal’: /tmp/ghc61690_0/ghc_168.c:44:187: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherFinal’ differ in signedness [-Wpointer-sign] 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^~ | | | char * | 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:806:64: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 806 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ~~~~~~~~~~~~~~~^~~~ | 806 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ^ /tmp/ghc61690_0/ghc_168.c: In function ‘ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate’: /tmp/ghc61690_0/ghc_168.c:47:211: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:804:65: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 804 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ | 804 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ^ /tmp/ghc61690_0/ghc_168.c:47:219: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:805:61: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 805 | int *outl, const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ | 805 | int *outl, const unsigned char *in, int inl); | ^ /tmp/ghc61690_0/ghc_168.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit’: /tmp/ghc61690_0/ghc_168.c:50:218: error: warning: pointer targets in passing argument 3 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:48: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 795 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~~ | 795 | const unsigned char *key, const unsigned char *iv, | ^ /tmp/ghc61690_0/ghc_168.c:50:222: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:74: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 795 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~ | 795 | const unsigned char *key, const unsigned char *iv, | ^ /tmp/ghc61690_0/ghc_177.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal’: /tmp/ghc61690_0/ghc_177.c:16:1: error: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~~~~~~~ | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_177.c:14:0: error: /usr/include/openssl/hmac.h:47:27: error: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ | 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^ /tmp/ghc61690_0/ghc_177.c:16:171: error: warning: pointer targets in passing argument 2 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | char * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:47:68: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^ /tmp/ghc61690_0/ghc_177.c:16:175: error: warning: pointer targets in passing argument 3 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | int * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:48:52: error: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 48 | unsigned int *len); | ~~~~~~~~~~~~~~^~~ | 48 | unsigned int *len); | ^ /tmp/ghc61690_0/ghc_177.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate’: /tmp/ghc61690_0/ghc_177.c:19:1: error: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~~~~~~ | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:27: error: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ | 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^ /tmp/ghc61690_0/ghc_177.c:19:175: error: warning: pointer targets in passing argument 2 of ‘HMAC_Update’ differ in signedness [-Wpointer-sign] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~ | | | char * | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:75: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^ /tmp/ghc61690_0/ghc_177.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit’: /tmp/ghc61690_0/ghc_177.c:23:1: error: warning: ‘HMAC_Init’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^~~~~~~ | 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^ /usr/include/openssl/hmac.h:38:36: error: note: declared here 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^~~~~~~~~ | 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^ /tmp/ghc61690_0/ghc_177.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal’: /tmp/ghc61690_0/ghc_177.c:29:191: error: warning: pointer targets in passing argument 2 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign] 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^~ | | | char * | 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_177.c:8:0: error: /usr/include/openssl/evp.h:730:60: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 730 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 730 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ^ /tmp/ghc61690_0/ghc_177.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal’: /tmp/ghc61690_0/ghc_177.c:44:187: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherFinal’ differ in signedness [-Wpointer-sign] 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^~ | | | char * | 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:806:64: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 806 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ~~~~~~~~~~~~~~~^~~~ | 806 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ^ /tmp/ghc61690_0/ghc_177.c: In function ‘ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate’: /tmp/ghc61690_0/ghc_177.c:47:211: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:804:65: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 804 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ | 804 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ^ /tmp/ghc61690_0/ghc_177.c:47:219: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:805:61: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 805 | int *outl, const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ | 805 | int *outl, const unsigned char *in, int inl); | ^ /tmp/ghc61690_0/ghc_177.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit’: /tmp/ghc61690_0/ghc_177.c:50:218: error: warning: pointer targets in passing argument 3 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:48: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 795 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~~ | 795 | const unsigned char *key, const unsigned char *iv, | ^ /tmp/ghc61690_0/ghc_177.c:50:222: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:74: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 795 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~ | 795 | const unsigned char *key, const unsigned char *iv, | ^ [11 of 33] Compiling OpenSSL.EVP.Digest /tmp/ghc61690_0/ghc_186.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1’: /tmp/ghc61690_0/ghc_186.c:9:243: error: warning: pointer targets in passing argument 3 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /usr/include/openssl/hmac.h:21, from /tmp/ghc61690_0/ghc_186.c:8:0: error: /usr/include/openssl/evp.h:1501:49: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1501 | const unsigned char *salt, int saltlen, int iter, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 1501 | const unsigned char *salt, int saltlen, int iter, | ^ /tmp/ghc61690_0/ghc_186.c:9:259: error: warning: pointer targets in passing argument 7 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/evp.h:1502:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1502 | int keylen, unsigned char *out); | ~~~~~~~~~~~~~~~^~~ | 1502 | int keylen, unsigned char *out); | ^ /tmp/ghc61690_0/ghc_186.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC’: /tmp/ghc61690_0/ghc_186.c:12:205: error: warning: pointer targets in passing argument 4 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:55:42: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 55 | const unsigned char *data, size_t data_len, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 55 | const unsigned char *data, size_t data_len, | ^ /tmp/ghc61690_0/ghc_186.c:12:213: error: warning: pointer targets in passing argument 6 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:56:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 56 | unsigned char *md, unsigned int *md_len); | ~~~~~~~~~~~~~~~^~ | 56 | unsigned char *md, unsigned int *md_len); | ^ /tmp/ghc61690_0/ghc_186.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname’: /tmp/ghc61690_0/ghc_186.c:15:141: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^ /tmp/ghc61690_0/ghc_195.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1’: /tmp/ghc61690_0/ghc_195.c:9:243: error: warning: pointer targets in passing argument 3 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /usr/include/openssl/hmac.h:21, from /tmp/ghc61690_0/ghc_195.c:8:0: error: /usr/include/openssl/evp.h:1501:49: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1501 | const unsigned char *salt, int saltlen, int iter, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 1501 | const unsigned char *salt, int saltlen, int iter, | ^ /tmp/ghc61690_0/ghc_195.c:9:259: error: warning: pointer targets in passing argument 7 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/evp.h:1502:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1502 | int keylen, unsigned char *out); | ~~~~~~~~~~~~~~~^~~ | 1502 | int keylen, unsigned char *out); | ^ /tmp/ghc61690_0/ghc_195.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC’: /tmp/ghc61690_0/ghc_195.c:12:205: error: warning: pointer targets in passing argument 4 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:55:42: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 55 | const unsigned char *data, size_t data_len, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 55 | const unsigned char *data, size_t data_len, | ^ /tmp/ghc61690_0/ghc_195.c:12:213: error: warning: pointer targets in passing argument 6 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:56:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 56 | unsigned char *md, unsigned int *md_len); | ~~~~~~~~~~~~~~~^~ | 56 | unsigned char *md, unsigned int *md_len); | ^ /tmp/ghc61690_0/ghc_195.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname’: /tmp/ghc61690_0/ghc_195.c:15:141: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^ [12 of 33] Compiling OpenSSL.EVP.Cipher /tmp/ghc61690_0/ghc_204.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname’: /tmp/ghc61690_0/ghc_204.c:10:145: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^ /tmp/ghc61690_0/ghc_213.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname’: /tmp/ghc61690_0/ghc_213.c:10:145: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^ [13 of 33] Compiling OpenSSL.Cipher /tmp/ghc61690_0/ghc_222.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt’: /tmp/ghc61690_0/ghc_222.c:10:1: error: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~~~ | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^ In file included from /tmp/ghc61690_0/ghc_222.c:8:0: error: /usr/include/openssl/aes.h:66:6: error: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ | 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^ /tmp/ghc61690_0/ghc_222.c:10:207: error: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^ /usr/include/openssl/aes.h:66:43: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ | 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^ /tmp/ghc61690_0/ghc_222.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey’: /tmp/ghc61690_0/ghc_222.c:13:1: error: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~~~~~~ | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:54:5: error: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc61690_0/ghc_222.c:13:181: error: warning: pointer targets in passing argument 1 of ‘AES_set_decrypt_key’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:54:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc61690_0/ghc_222.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey’: /tmp/ghc61690_0/ghc_222.c:16:1: error: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:51:5: error: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc61690_0/ghc_222.c:16:181: error: warning: pointer targets in passing argument 1 of ‘AES_set_encrypt_key’ differ in signedness [-Wpointer-sign] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~ | | | char * | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:51:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc61690_0/ghc_231.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt’: /tmp/ghc61690_0/ghc_231.c:10:1: error: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~~~ | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^ In file included from /tmp/ghc61690_0/ghc_231.c:8:0: error: /usr/include/openssl/aes.h:66:6: error: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ | 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^ /tmp/ghc61690_0/ghc_231.c:10:207: error: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^ /usr/include/openssl/aes.h:66:43: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ | 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^ /tmp/ghc61690_0/ghc_231.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey’: /tmp/ghc61690_0/ghc_231.c:13:1: error: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~~~~~~ | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:54:5: error: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc61690_0/ghc_231.c:13:181: error: warning: pointer targets in passing argument 1 of ‘AES_set_decrypt_key’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:54:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc61690_0/ghc_231.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey’: /tmp/ghc61690_0/ghc_231.c:16:1: error: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:51:5: error: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc61690_0/ghc_231.c:16:181: error: warning: pointer targets in passing argument 1 of ‘AES_set_encrypt_key’ differ in signedness [-Wpointer-sign] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~ | | | char * | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:51:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^ [14 of 33] Compiling OpenSSL.BN /tmp/ghc61690_0/ghc_240.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange’: /tmp/ghc61690_0/ghc_240.c:10:1: error: warning: ‘BN_pseudo_rand_range’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^ In file included from /tmp/ghc61690_0/ghc_240.c:8:0: error: /usr/include/openssl/bn.h:233:5: error: note: declared here 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^~~~~~~~~~~~~~~~~~~~ | 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^ /tmp/ghc61690_0/ghc_240.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn’: /tmp/ghc61690_0/ghc_240.c:25:154: error: warning: pointer targets in passing argument 1 of ‘BN_mpi2bn’ differ in signedness [-Wpointer-sign] 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^~ | | | char * | 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^ /usr/include/openssl/bn.h:256:40: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 256 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ~~~~~~~~~~~~~~~~~~~~~^ | 256 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ^ /tmp/ghc61690_0/ghc_240.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi’: /tmp/ghc61690_0/ghc_240.c:28:146: error: warning: pointer targets in passing argument 2 of ‘BN_bn2mpi’ differ in signedness [-Wpointer-sign] 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} | ^~ | | | char * | 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} | ^ /usr/include/openssl/bn.h:257:47: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 257 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ~~~~~~~~~~~~~~~^~ | 257 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ^ /tmp/ghc61690_0/ghc_249.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange’: /tmp/ghc61690_0/ghc_249.c:10:1: error: warning: ‘BN_pseudo_rand_range’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^ In file included from /tmp/ghc61690_0/ghc_249.c:8:0: error: /usr/include/openssl/bn.h:233:5: error: note: declared here 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^~~~~~~~~~~~~~~~~~~~ | 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^ /tmp/ghc61690_0/ghc_249.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn’: /tmp/ghc61690_0/ghc_249.c:25:154: error: warning: pointer targets in passing argument 1 of ‘BN_mpi2bn’ differ in signedness [-Wpointer-sign] 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^~ | | | char * | 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^ /usr/include/openssl/bn.h:256:40: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 256 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ~~~~~~~~~~~~~~~~~~~~~^ | 256 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ^ /tmp/ghc61690_0/ghc_249.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi’: /tmp/ghc61690_0/ghc_249.c:28:146: error: warning: pointer targets in passing argument 2 of ‘BN_bn2mpi’ differ in signedness [-Wpointer-sign] 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} | ^~ | | | char * | 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} | ^ /usr/include/openssl/bn.h:257:47: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 257 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ~~~~~~~~~~~~~~~^~ | 257 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ^ [15 of 33] Compiling OpenSSL.RSA /tmp/ghc61690_0/ghc_258.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams’: /tmp/ghc61690_0/ghc_258.c:11:1: error: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~~~ | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc61690_0/ghc_258.c:8:0: error: /usr/include/openssl/rsa.h:236:28: error: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ | 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^ /tmp/ghc61690_0/ghc_258.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors’: /tmp/ghc61690_0/ghc_258.c:15:1: error: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~~~ | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:231:28: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^ /tmp/ghc61690_0/ghc_258.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey’: /tmp/ghc61690_0/ghc_258.c:19:1: error: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:228:28: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^ /tmp/ghc61690_0/ghc_258.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey’: /tmp/ghc61690_0/ghc_258.c:22:1: error: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^~~ | 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:264:30: error: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ | 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^ /tmp/ghc61690_0/ghc_258.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze’: /tmp/ghc61690_0/ghc_258.c:35:1: error: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^~~~~~~ | 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^ /usr/include/openssl/rsa.h:215:27: error: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ | 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^ /tmp/ghc61690_0/ghc_258.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup’: /tmp/ghc61690_0/ghc_258.c:38:1: error: warning: ‘RSAPrivateKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^~~ | 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^ In file included from /usr/include/openssl/rsa.h:21:0: error: /usr/include/openssl/rsa.h:460:1: error: note: declared here 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^ /tmp/ghc61690_0/ghc_258.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup’: /tmp/ghc61690_0/ghc_258.c:41:1: error: warning: ‘RSAPublicKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^~~ | 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^ /usr/include/openssl/rsa.h:459:1: error: note: declared here 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^ /tmp/ghc61690_0/ghc_267.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams’: /tmp/ghc61690_0/ghc_267.c:11:1: error: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~~~ | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc61690_0/ghc_267.c:8:0: error: /usr/include/openssl/rsa.h:236:28: error: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ | 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^ /tmp/ghc61690_0/ghc_267.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors’: /tmp/ghc61690_0/ghc_267.c:15:1: error: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~~~ | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:231:28: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^ /tmp/ghc61690_0/ghc_267.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey’: /tmp/ghc61690_0/ghc_267.c:19:1: error: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:228:28: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^ /tmp/ghc61690_0/ghc_267.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey’: /tmp/ghc61690_0/ghc_267.c:22:1: error: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^~~ | 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:264:30: error: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ | 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^ /tmp/ghc61690_0/ghc_267.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze’: /tmp/ghc61690_0/ghc_267.c:35:1: error: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^~~~~~~ | 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^ /usr/include/openssl/rsa.h:215:27: error: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ | 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^ /tmp/ghc61690_0/ghc_267.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup’: /tmp/ghc61690_0/ghc_267.c:38:1: error: warning: ‘RSAPrivateKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^~~ | 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^ In file included from /usr/include/openssl/rsa.h:21:0: error: /usr/include/openssl/rsa.h:460:1: error: note: declared here 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^ /tmp/ghc61690_0/ghc_267.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup’: /tmp/ghc61690_0/ghc_267.c:41:1: error: warning: ‘RSAPublicKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^~~ | 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^ /usr/include/openssl/rsa.h:459:1: error: note: declared here 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^ [16 of 33] Compiling OpenSSL.DER /tmp/ghc61690_0/ghc_276.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey’: /tmp/ghc61690_0/ghc_276.c:10:1: error: warning: ‘i2d_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^ In file included from cbits/HsOpenSSL.h:3, from /tmp/ghc61690_0/ghc_276.c:8:0: error: /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc61690_0/ghc_276.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey’: /tmp/ghc61690_0/ghc_276.c:13:1: error: warning: ‘d2i_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~~ | 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc61690_0/ghc_276.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey’: /tmp/ghc61690_0/ghc_276.c:16:1: error: warning: ‘i2d_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc61690_0/ghc_276.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey’: /tmp/ghc61690_0/ghc_276.c:19:1: error: warning: ‘d2i_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~~ | 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc61690_0/ghc_285.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey’: /tmp/ghc61690_0/ghc_285.c:10:1: error: warning: ‘i2d_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^ In file included from cbits/HsOpenSSL.h:3, from /tmp/ghc61690_0/ghc_285.c:8:0: error: /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc61690_0/ghc_285.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey’: /tmp/ghc61690_0/ghc_285.c:13:1: error: warning: ‘d2i_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~~ | 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc61690_0/ghc_285.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey’: /tmp/ghc61690_0/ghc_285.c:16:1: error: warning: ‘i2d_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc61690_0/ghc_285.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey’: /tmp/ghc61690_0/ghc_285.c:19:1: error: warning: ‘d2i_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~~ | 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ [17 of 33] Compiling OpenSSL.DSA /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey’: /tmp/ghc61690_0/ghc_294.c:10:1: error: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_294.c:8:0: error: /usr/include/openssl/dsa.h:211:27: error: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ | 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg’: /tmp/ghc61690_0/ghc_294.c:13:1: error: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^~~~~~~ | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^ /usr/include/openssl/dsa.h:208:27: error: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ | 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey’: /tmp/ghc61690_0/ghc_294.c:16:1: error: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~~~ | 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^ /usr/include/openssl/dsa.h:209:28: error: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ | 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg’: /tmp/ghc61690_0/ghc_294.c:19:1: error: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^ /usr/include/openssl/dsa.h:206:28: error: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ | 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze’: /tmp/ghc61690_0/ghc_294.c:21:1: error: warning: ‘DSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^~~~~~~ | 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^ /usr/include/openssl/dsa.h:135:27: error: note: declared here 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^~~~~~~~ | 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters’: /tmp/ghc61690_0/ghc_294.c:27:1: error: warning: ‘DSA_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^~~~ | 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/dsa.h:164:6: error: note: declared here 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^~~~~~~~~~~~~~~~~~~~~~~ | 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc61690_0/ghc_294.c:27:224: error: warning: pointer targets in passing argument 2 of ‘DSA_generate_parameters’ differ in signedness [-Wpointer-sign] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/dsa.h:164:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ~~~~~~~~~~~~~~~^~~~ | 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify’: /tmp/ghc61690_0/ghc_294.c:30:204: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_verify’ differ in signedness [-Wpointer-sign] 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^~ | | | char * | 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^ In file included from /tmp/ghc61690_0/ghc_294.c:22:0: error: cbits/HsOpenSSL.h:109:57: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign’: /tmp/ghc61690_0/ghc_294.c:33:202: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_sign’ differ in signedness [-Wpointer-sign] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^~ | | | char * | 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^ cbits/HsOpenSSL.h:107:55: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey’: /tmp/ghc61690_0/ghc_294.c:35:1: error: warning: ‘DSA_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^~~~ | 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^ /usr/include/openssl/dsa.h:179:27: error: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ | 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew’: /tmp/ghc61690_0/ghc_294.c:37:1: error: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^~~~ | 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^ /usr/include/openssl/dsa.h:130:28: error: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ | 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^ /tmp/ghc61690_0/ghc_294.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree’: /tmp/ghc61690_0/ghc_294.c:42:1: error: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^~~~ | 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^ /usr/include/openssl/dsa.h:132:28: error: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ | 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey’: /tmp/ghc61690_0/ghc_303.c:10:1: error: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_303.c:8:0: error: /usr/include/openssl/dsa.h:211:27: error: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ | 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg’: /tmp/ghc61690_0/ghc_303.c:13:1: error: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^~~~~~~ | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^ /usr/include/openssl/dsa.h:208:27: error: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ | 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey’: /tmp/ghc61690_0/ghc_303.c:16:1: error: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~~~ | 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^ /usr/include/openssl/dsa.h:209:28: error: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ | 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg’: /tmp/ghc61690_0/ghc_303.c:19:1: error: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^ /usr/include/openssl/dsa.h:206:28: error: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ | 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze’: /tmp/ghc61690_0/ghc_303.c:21:1: error: warning: ‘DSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^~~~~~~ | 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^ /usr/include/openssl/dsa.h:135:27: error: note: declared here 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^~~~~~~~ | 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters’: /tmp/ghc61690_0/ghc_303.c:27:1: error: warning: ‘DSA_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^~~~ | 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/dsa.h:164:6: error: note: declared here 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^~~~~~~~~~~~~~~~~~~~~~~ | 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc61690_0/ghc_303.c:27:224: error: warning: pointer targets in passing argument 2 of ‘DSA_generate_parameters’ differ in signedness [-Wpointer-sign] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/dsa.h:164:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ~~~~~~~~~~~~~~~^~~~ | 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify’: /tmp/ghc61690_0/ghc_303.c:30:204: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_verify’ differ in signedness [-Wpointer-sign] 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^~ | | | char * | 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^ In file included from /tmp/ghc61690_0/ghc_303.c:22:0: error: cbits/HsOpenSSL.h:109:57: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign’: /tmp/ghc61690_0/ghc_303.c:33:202: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_sign’ differ in signedness [-Wpointer-sign] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^~ | | | char * | 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^ cbits/HsOpenSSL.h:107:55: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey’: /tmp/ghc61690_0/ghc_303.c:35:1: error: warning: ‘DSA_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^~~~ | 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^ /usr/include/openssl/dsa.h:179:27: error: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ | 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew’: /tmp/ghc61690_0/ghc_303.c:37:1: error: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^~~~ | 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^ /usr/include/openssl/dsa.h:130:28: error: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ | 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^ /tmp/ghc61690_0/ghc_303.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree’: /tmp/ghc61690_0/ghc_303.c:42:1: error: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^~~~ | 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^ /usr/include/openssl/dsa.h:132:28: error: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ | 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^ [18 of 33] Compiling OpenSSL.EVP.PKey /tmp/ghc61690_0/ghc_312.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA’: /tmp/ghc61690_0/ghc_312.c:10:1: error: warning: ‘EVP_PKEY_set1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^ In file included from /tmp/ghc61690_0/ghc_312.c:8:0: error: /usr/include/openssl/evp.h:1372:5: error: note: declared here 1372 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1372 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^ /tmp/ghc61690_0/ghc_312.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA’: /tmp/ghc61690_0/ghc_312.c:13:1: error: warning: ‘EVP_PKEY_get1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^~~~ | 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^ /usr/include/openssl/evp.h:1376:16: error: note: declared here 1376 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1376 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^ /tmp/ghc61690_0/ghc_312.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA’: /tmp/ghc61690_0/ghc_312.c:17:1: error: warning: ‘EVP_PKEY_set1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^ /usr/include/openssl/evp.h:1363:5: error: note: declared here 1363 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1363 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^ /tmp/ghc61690_0/ghc_312.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA’: /tmp/ghc61690_0/ghc_312.c:21:1: error: warning: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^~~ | 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^ /usr/include/openssl/evp.h:1367:16: error: note: declared here 1367 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1367 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^ /tmp/ghc61690_0/ghc_321.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA’: /tmp/ghc61690_0/ghc_321.c:10:1: error: warning: ‘EVP_PKEY_set1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^ In file included from /tmp/ghc61690_0/ghc_321.c:8:0: error: /usr/include/openssl/evp.h:1372:5: error: note: declared here 1372 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1372 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^ /tmp/ghc61690_0/ghc_321.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA’: /tmp/ghc61690_0/ghc_321.c:13:1: error: warning: ‘EVP_PKEY_get1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^~~~ | 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^ /usr/include/openssl/evp.h:1376:16: error: note: declared here 1376 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1376 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^ /tmp/ghc61690_0/ghc_321.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA’: /tmp/ghc61690_0/ghc_321.c:17:1: error: warning: ‘EVP_PKEY_set1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^ /usr/include/openssl/evp.h:1363:5: error: note: declared here 1363 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1363 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^ /tmp/ghc61690_0/ghc_321.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA’: /tmp/ghc61690_0/ghc_321.c:21:1: error: warning: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^~~ | 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^ /usr/include/openssl/evp.h:1367:16: error: note: declared here 1367 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1367 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^ [19 of 33] Compiling OpenSSL.EVP.Verify /tmp/ghc61690_0/ghc_330.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal’: /tmp/ghc61690_0/ghc_330.c:10:198: error: warning: pointer targets in passing argument 2 of ‘EVP_VerifyFinal’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc61690_0/ghc_330.c:8:0: error: /usr/include/openssl/evp.h:825:66: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 825 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 825 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ^ /tmp/ghc61690_0/ghc_339.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal’: /tmp/ghc61690_0/ghc_339.c:10:198: error: warning: pointer targets in passing argument 2 of ‘EVP_VerifyFinal’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc61690_0/ghc_339.c:8:0: error: /usr/include/openssl/evp.h:825:66: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 825 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 825 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ^ [20 of 33] Compiling OpenSSL.EVP.Sign [21 of 33] Compiling OpenSSL.EVP.Seal /tmp/ghc61690_0/ghc_366.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit’: /tmp/ghc61690_0/ghc_366.c:10:242: error: warning: pointer targets in passing argument 5 of ‘EVP_SealInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /tmp/ghc61690_0/ghc_366.c:8:0: error: /usr/include/openssl/evp.h:863:70: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 863 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~^~ | 863 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ /tmp/ghc61690_0/ghc_375.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit’: /tmp/ghc61690_0/ghc_375.c:10:242: error: warning: pointer targets in passing argument 5 of ‘EVP_SealInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /tmp/ghc61690_0/ghc_375.c:8:0: error: /usr/include/openssl/evp.h:863:70: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 863 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~^~ | 863 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ [22 of 33] Compiling OpenSSL.EVP.Open /tmp/ghc61690_0/ghc_384.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit’: /tmp/ghc61690_0/ghc_384.c:10:223: error: warning: pointer targets in passing argument 3 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^ In file included from /tmp/ghc61690_0/ghc_384.c:8:0: error: /usr/include/openssl/evp.h:858:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 858 | const unsigned char *ek, int ekl, | ~~~~~~~~~~~~~~~~~~~~~^~ | 858 | const unsigned char *ek, int ekl, | ^ /tmp/ghc61690_0/ghc_384.c:10:231: error: warning: pointer targets in passing argument 5 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^ /usr/include/openssl/evp.h:859:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 859 | const unsigned char *iv, EVP_PKEY *priv); | ~~~~~~~~~~~~~~~~~~~~~^~ | 859 | const unsigned char *iv, EVP_PKEY *priv); | ^ /tmp/ghc61690_0/ghc_393.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit’: /tmp/ghc61690_0/ghc_393.c:10:223: error: warning: pointer targets in passing argument 3 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^ In file included from /tmp/ghc61690_0/ghc_393.c:8:0: error: /usr/include/openssl/evp.h:858:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 858 | const unsigned char *ek, int ekl, | ~~~~~~~~~~~~~~~~~~~~~^~ | 858 | const unsigned char *ek, int ekl, | ^ /tmp/ghc61690_0/ghc_393.c:10:231: error: warning: pointer targets in passing argument 5 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^ /usr/include/openssl/evp.h:859:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 859 | const unsigned char *iv, EVP_PKEY *priv); | ~~~~~~~~~~~~~~~~~~~~~^~ | 859 | const unsigned char *iv, EVP_PKEY *priv); | ^ [23 of 33] Compiling OpenSSL.DH /tmp/ghc61690_0/ghc_402.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey’: /tmp/ghc61690_0/ghc_402.c:14:136: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^ /tmp/ghc61690_0/ghc_402.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze’: /tmp/ghc61690_0/ghc_402.c:20:1: error: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^~~~~~~ | 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^ In file included from cbits/HsOpenSSL.h:6, from /tmp/ghc61690_0/ghc_402.c:8:0: error: /usr/include/openssl/dh.h:210:27: error: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ | 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^ /tmp/ghc61690_0/ghc_402.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck’: /tmp/ghc61690_0/ghc_402.c:23:1: error: warning: ‘DH_check’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^~~~~~ | 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^ /usr/include/openssl/dh.h:227:27: error: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ | 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^ /tmp/ghc61690_0/ghc_402.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey’: /tmp/ghc61690_0/ghc_402.c:27:1: error: warning: ‘DH_compute_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^~~~~~~ | 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^ /usr/include/openssl/dh.h:231:27: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^ /tmp/ghc61690_0/ghc_402.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey’: /tmp/ghc61690_0/ghc_402.c:30:1: error: warning: ‘DH_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^~~~~~~ | 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^ /usr/include/openssl/dh.h:230:27: error: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ | 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^ /tmp/ghc61690_0/ghc_402.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters’: /tmp/ghc61690_0/ghc_402.c:33:1: error: warning: ‘DH_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^~ | 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^ /usr/include/openssl/dh.h:325:29: error: note: declared here 325 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^~~~~~~~~~~~~~~~~~~~~~ | 325 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^ /tmp/ghc61690_0/ghc_411.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey’: /tmp/ghc61690_0/ghc_411.c:14:136: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^ /tmp/ghc61690_0/ghc_411.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze’: /tmp/ghc61690_0/ghc_411.c:20:1: error: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^~~~~~~ | 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^ In file included from cbits/HsOpenSSL.h:6, from /tmp/ghc61690_0/ghc_411.c:8:0: error: /usr/include/openssl/dh.h:210:27: error: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ | 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^ /tmp/ghc61690_0/ghc_411.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck’: /tmp/ghc61690_0/ghc_411.c:23:1: error: warning: ‘DH_check’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^~~~~~ | 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^ /usr/include/openssl/dh.h:227:27: error: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ | 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^ /tmp/ghc61690_0/ghc_411.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey’: /tmp/ghc61690_0/ghc_411.c:27:1: error: warning: ‘DH_compute_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^~~~~~~ | 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^ /usr/include/openssl/dh.h:231:27: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^ /tmp/ghc61690_0/ghc_411.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey’: /tmp/ghc61690_0/ghc_411.c:30:1: error: warning: ‘DH_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^~~~~~~ | 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^ /usr/include/openssl/dh.h:230:27: error: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ | 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^ /tmp/ghc61690_0/ghc_411.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters’: /tmp/ghc61690_0/ghc_411.c:33:1: error: warning: ‘DH_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^~ | 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^ /usr/include/openssl/dh.h:325:29: error: note: declared here 325 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^~~~~~~~~~~~~~~~~~~~~~ | 325 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^ [24 of 33] Compiling OpenSSL.BIO /tmp/ghc61690_0/ghc_420.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull’: /tmp/ghc61690_0/ghc_420.c:10:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^~~~~~~~~~~~ | 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^ /tmp/ghc61690_0/ghc_420.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem’: /tmp/ghc61690_0/ghc_420.c:16:122: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^~~~~~~~~~~ | 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^ /tmp/ghc61690_0/ghc_420.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer’: /tmp/ghc61690_0/ghc_420.c:22:125: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^~~~~~~~~~~~~~ | 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^ /tmp/ghc61690_0/ghc_420.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64’: /tmp/ghc61690_0/ghc_420.c:27:125: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^~~~~~~~~~~~~~ | 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^ /tmp/ghc61690_0/ghc_429.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull’: /tmp/ghc61690_0/ghc_429.c:10:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^~~~~~~~~~~~ | 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^ /tmp/ghc61690_0/ghc_429.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem’: /tmp/ghc61690_0/ghc_429.c:16:122: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^~~~~~~~~~~ | 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^ /tmp/ghc61690_0/ghc_429.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer’: /tmp/ghc61690_0/ghc_429.c:22:125: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^~~~~~~~~~~~~~ | 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^ /tmp/ghc61690_0/ghc_429.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64’: /tmp/ghc61690_0/ghc_429.c:27:125: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^~~~~~~~~~~~~~ | 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^ [25 of 33] Compiling OpenSSL.ASN1 /tmp/ghc61690_0/ghc_438.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln’: /tmp/ghc61690_0/ghc_438.c:36:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^~~~~~~~~~~~~~ | 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^ /tmp/ghc61690_0/ghc_438.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn’: /tmp/ghc61690_0/ghc_438.c:38:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^~~~~~~~~~~~~~ | 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^ /tmp/ghc61690_0/ghc_447.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln’: /tmp/ghc61690_0/ghc_447.c:36:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^~~~~~~~~~~~~~ | 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^ /tmp/ghc61690_0/ghc_447.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn’: /tmp/ghc61690_0/ghc_447.c:38:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^~~~~~~~~~~~~~ | 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^ [26 of 33] Compiling OpenSSL.X509.Name /tmp/ghc61690_0/ghc_456.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt’: /tmp/ghc61690_0/ghc_456.c:24:261: error: warning: pointer targets in passing argument 4 of ‘X509_NAME_add_entry_by_txt’ differ in signedness [-Wpointer-sign] 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /tmp/ghc61690_0/ghc_456.c:8:0: error: /usr/include/openssl/x509.h:1061:53: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1061 | const unsigned char *bytes, int len, int loc, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 1061 | const unsigned char *bytes, int len, int loc, | ^ /tmp/ghc61690_0/ghc_465.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt’: /tmp/ghc61690_0/ghc_465.c:24:261: error: warning: pointer targets in passing argument 4 of ‘X509_NAME_add_entry_by_txt’ differ in signedness [-Wpointer-sign] 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /tmp/ghc61690_0/ghc_465.c:8:0: error: /usr/include/openssl/x509.h:1061:53: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1061 | const unsigned char *bytes, int len, int loc, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 1061 | const unsigned char *bytes, int len, int loc, | ^ [27 of 33] Compiling OpenSSL.X509 [28 of 33] Compiling OpenSSL.X509.Request [29 of 33] Compiling OpenSSL.X509.Revocation /tmp/ghc61690_0/ghc_510.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate’: /tmp/ghc61690_0/ghc_510.c:11:170: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^ /tmp/ghc61690_0/ghc_510.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber’: /tmp/ghc61690_0/ghc_510.c:15:171: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^ /tmp/ghc61690_0/ghc_510.c: In function ‘ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate’: /tmp/ghc61690_0/ghc_510.c:60:169: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^ /tmp/ghc61690_0/ghc_510.c: In function ‘ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate’: /tmp/ghc61690_0/ghc_510.c:64:169: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^ /tmp/ghc61690_0/ghc_519.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate’: /tmp/ghc61690_0/ghc_519.c:11:170: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^ /tmp/ghc61690_0/ghc_519.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber’: /tmp/ghc61690_0/ghc_519.c:15:171: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^ /tmp/ghc61690_0/ghc_519.c: In function ‘ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate’: /tmp/ghc61690_0/ghc_519.c:60:169: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^ /tmp/ghc61690_0/ghc_519.c: In function ‘ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate’: /tmp/ghc61690_0/ghc_519.c:64:169: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^ [30 of 33] Compiling OpenSSL.X509.Store [31 of 33] Compiling OpenSSL.Session /tmp/ghc61690_0/ghc_546.c: In function ‘ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos’: /tmp/ghc61690_0/ghc_546.c:72:197: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_alpn_protos’ differ in signedness [-Wpointer-sign] 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^~ | | | char * | 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_546.c:8:0: error: /usr/include/openssl/ssl.h:841:71: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ^ /tmp/ghc61690_0/ghc_546.c: In function ‘ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext’: /tmp/ghc61690_0/ghc_546.c:75:212: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_session_id_context’ differ in signedness [-Wpointer-sign] 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^~ | | | char * | 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^ /usr/include/openssl/ssl.h:1875:64: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1875 | const unsigned char *sid_ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 1875 | const unsigned char *sid_ctx, | ^ /tmp/ghc61690_0/ghc_555.c: In function ‘ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos’: /tmp/ghc61690_0/ghc_555.c:72:197: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_alpn_protos’ differ in signedness [-Wpointer-sign] 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^~ | | | char * | 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^ In file included from /tmp/ghc61690_0/ghc_555.c:8:0: error: /usr/include/openssl/ssl.h:841:71: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ^ /tmp/ghc61690_0/ghc_555.c: In function ‘ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext’: /tmp/ghc61690_0/ghc_555.c:75:212: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_session_id_context’ differ in signedness [-Wpointer-sign] 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^~ | | | char * | 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^ /usr/include/openssl/ssl.h:1875:64: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1875 | const unsigned char *sid_ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 1875 | const unsigned char *sid_ctx, | ^ [32 of 33] Compiling OpenSSL.PKCS7 [33 of 33] Compiling OpenSSL.PEM /tmp/ghc61690_0/ghc_582.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams’: /tmp/ghc61690_0/ghc_582.c:13:1: error: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^~ | 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc61690_0/ghc_582.c:10:0: error: /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/ghc61690_0/ghc_582.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams’: /tmp/ghc61690_0/ghc_582.c:17:1: error: warning: ‘PEM_write_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^ /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/ghc61690_0/ghc_591.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams’: /tmp/ghc61690_0/ghc_591.c:13:1: error: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^~ | 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc61690_0/ghc_591.c:10:0: error: /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/ghc61690_0/ghc_591.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams’: /tmp/ghc61690_0/ghc_591.c:17:1: error: warning: ‘PEM_write_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^ /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ [ 1 of 33] Compiling OpenSSL [ 2 of 33] Compiling OpenSSL.DH.Internal /tmp/ghc62317_0/ghc_31.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree’: /tmp/ghc62317_0/ghc_31.c:10:1: error: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^~~~ | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHziInternalZCDHzufree(DH* a1) {DH_free(a1);} | ^ In file included from /tmp/ghc62317_0/ghc_31.c:8:0: error: /usr/include/openssl/dh.h:207:28: error: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ | 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^ [ 3 of 33] Compiling OpenSSL.ERR [ 4 of 33] Compiling OpenSSL.EVP.Base64 /tmp/ghc62317_0/ghc_49.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock’: /tmp/ghc62317_0/ghc_49.c:9:173: error: warning: pointer targets in passing argument 1 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ In file included from /tmp/ghc62317_0/ghc_49.c:8:0: error: /usr/include/openssl/evp.h:882:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc62317_0/ghc_49.c:9:177: error: warning: pointer targets in passing argument 2 of ‘EVP_DecodeBlock’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuDecodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_DecodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:882:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 882 | int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc62317_0/ghc_49.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock’: /tmp/ghc62317_0/ghc_49.c:11:173: error: warning: pointer targets in passing argument 1 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:875:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~^ | 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ /tmp/ghc62317_0/ghc_49.c:11:177: error: warning: pointer targets in passing argument 2 of ‘EVP_EncodeBlock’ differ in signedness [-Wpointer-sign] 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^~ | | | char * | 11 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziBase64ZCEVPzuEncodeBlock(char* a1, char* a2, HsInt32 a3) {return EVP_EncodeBlock(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:875:60: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ~~~~~~~~~~~~~~~~~~~~~^ | 875 | int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); | ^ [ 5 of 33] Compiling OpenSSL.Objects [ 6 of 33] Compiling OpenSSL.SSL.Option [ 7 of 33] Compiling OpenSSL.Stack [ 8 of 33] Compiling OpenSSL.Utils [ 9 of 33] Compiling OpenSSL.Random /tmp/ghc62317_0/ghc_94.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes’: /tmp/ghc62317_0/ghc_94.c:11:1: error: warning: ‘RAND_pseudo_bytes’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~~~ | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ In file included from /tmp/ghc62317_0/ghc_94.c:8:0: error: /usr/include/openssl/rand.h:79:29: error: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ | 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^ /tmp/ghc62317_0/ghc_94.c:11:153: error: warning: pointer targets in passing argument 1 of ‘RAND_pseudo_bytes’ differ in signedness [-Wpointer-sign] 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^~ | | | char * | 11 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzupseudozubytes(char* a1, HsInt32 a2) {RAND_pseudo_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:79:62: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^ /tmp/ghc62317_0/ghc_94.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes’: /tmp/ghc62317_0/ghc_94.c:13:148: error: warning: pointer targets in passing argument 1 of ‘RAND_bytes’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRandomZCRANDzubytes(char* a1, HsInt32 a2) {return RAND_bytes(a1, a2);} | ^ /usr/include/openssl/rand.h:61:31: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 61 | int RAND_bytes(unsigned char *buf, int num); | ~~~~~~~~~~~~~~~^~~ | 61 | int RAND_bytes(unsigned char *buf, int num); | ^ [10 of 33] Compiling OpenSSL.EVP.Internal /tmp/ghc62317_0/ghc_103.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal’: /tmp/ghc62317_0/ghc_103.c:16:1: error: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~~~~~~~ | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ In file included from /tmp/ghc62317_0/ghc_103.c:14:0: error: /usr/include/openssl/hmac.h:47:27: error: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ | 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^ /tmp/ghc62317_0/ghc_103.c:16:171: error: warning: pointer targets in passing argument 2 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | char * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:47:68: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^ /tmp/ghc62317_0/ghc_103.c:16:175: error: warning: pointer targets in passing argument 3 of ‘HMAC_Final’ differ in signedness [-Wpointer-sign] 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^~ | | | int * | 16 | HsWord32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuFinal(HMAC_CTX* a1, char* a2, int* a3) {return HMAC_Final(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:48:52: error: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 48 | unsigned int *len); | ~~~~~~~~~~~~~~^~~ | 48 | unsigned int *len); | ^ /tmp/ghc62317_0/ghc_103.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate’: /tmp/ghc62317_0/ghc_103.c:19:1: error: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~~~~~~ | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:27: error: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ | 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^ /tmp/ghc62317_0/ghc_103.c:19:175: error: warning: pointer targets in passing argument 2 of ‘HMAC_Update’ differ in signedness [-Wpointer-sign] 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^~ | | | char * | 19 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuUpdate(HMAC_CTX* a1, char* a2, HsInt32 a3) {return HMAC_Update(a1, a2, a3);} | ^ /usr/include/openssl/hmac.h:45:75: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^ /tmp/ghc62317_0/ghc_103.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit’: /tmp/ghc62317_0/ghc_103.c:23:1: error: warning: ‘HMAC_Init’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^~~~~~~ | 23 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCHMACzuInit(HMAC_CTX* a1, void* a2, HsInt32 a3, EVP_MD* a4) {return HMAC_Init(a1, a2, a3, a4);} | ^ /usr/include/openssl/hmac.h:38:36: error: note: declared here 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^~~~~~~~~ | 38 | OSSL_DEPRECATEDIN_1_1_0 __owur int HMAC_Init(HMAC_CTX *ctx, | ^ /tmp/ghc62317_0/ghc_103.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal’: /tmp/ghc62317_0/ghc_103.c:29:191: error: warning: pointer targets in passing argument 2 of ‘EVP_DigestFinal’ differ in signedness [-Wpointer-sign] 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^~ | | | char * | 29 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuDigestFinal(EVP_MD_CTX* a1, char* a2, unsigned int* a3) {return EVP_DigestFinal(a1, a2, a3);} | ^ In file included from /tmp/ghc62317_0/ghc_103.c:8:0: error: /usr/include/openssl/evp.h:730:60: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 730 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~~~~^~ | 730 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ^ /tmp/ghc62317_0/ghc_103.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal’: /tmp/ghc62317_0/ghc_103.c:44:187: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherFinal’ differ in signedness [-Wpointer-sign] 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^~ | | | char * | 44 | HsInt32 ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherFinal(EVP_CIPHER_CTX* a1, char* a2, int* a3) {return EVP_CipherFinal(a1, a2, a3);} | ^ /usr/include/openssl/evp.h:806:64: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 806 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ~~~~~~~~~~~~~~~^~~~ | 806 | __owur int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, | ^ /tmp/ghc62317_0/ghc_103.c: In function ‘ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate’: /tmp/ghc62317_0/ghc_103.c:47:211: error: warning: pointer targets in passing argument 2 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:804:65: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 804 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ~~~~~~~~~~~~~~~^~~ | 804 | __owur int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | ^ /tmp/ghc62317_0/ghc_103.c:47:219: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherUpdate’ differ in signedness [-Wpointer-sign] 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^~ | | | char * | 47 | HsInt32 ghczuwrapperZC12ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherUpdate(EVP_CIPHER_CTX* a1, char* a2, int* a3, char* a4, HsInt32 a5) {return EVP_CipherUpdate(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:805:61: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 805 | int *outl, const unsigned char *in, int inl); | ~~~~~~~~~~~~~~~~~~~~~^~ | 805 | int *outl, const unsigned char *in, int inl); | ^ /tmp/ghc62317_0/ghc_103.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit’: /tmp/ghc62317_0/ghc_103.c:50:218: error: warning: pointer targets in passing argument 3 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:48: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 795 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~~ | 795 | const unsigned char *key, const unsigned char *iv, | ^ /tmp/ghc62317_0/ghc_103.c:50:222: error: warning: pointer targets in passing argument 4 of ‘EVP_CipherInit’ differ in signedness [-Wpointer-sign] 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^~ | | | char * | 50 | HsInt32 ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziInternalZCEVPzuCipherInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, char* a4, HsInt32 a5) {return EVP_CipherInit(a1, a2, a3, a4, a5);} | ^ /usr/include/openssl/evp.h:795:74: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 795 | const unsigned char *key, const unsigned char *iv, | ~~~~~~~~~~~~~~~~~~~~~^~ | 795 | const unsigned char *key, const unsigned char *iv, | ^ [11 of 33] Compiling OpenSSL.EVP.Digest /tmp/ghc62317_0/ghc_112.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1’: /tmp/ghc62317_0/ghc_112.c:9:243: error: warning: pointer targets in passing argument 3 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /usr/include/openssl/hmac.h:21, from /tmp/ghc62317_0/ghc_112.c:8:0: error: /usr/include/openssl/evp.h:1501:49: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1501 | const unsigned char *salt, int saltlen, int iter, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 1501 | const unsigned char *salt, int saltlen, int iter, | ^ /tmp/ghc62317_0/ghc_112.c:9:259: error: warning: pointer targets in passing argument 7 of ‘PKCS5_PBKDF2_HMAC_SHA1’ differ in signedness [-Wpointer-sign] 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 9 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCPKCS5zuPBKDF2zuHMACzuSHA1(char* a1, HsInt32 a2, char* a3, HsInt32 a4, HsInt32 a5, HsInt32 a6, char* a7) {return PKCS5_PBKDF2_HMAC_SHA1(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/evp.h:1502:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1502 | int keylen, unsigned char *out); | ~~~~~~~~~~~~~~~^~~ | 1502 | int keylen, unsigned char *out); | ^ /tmp/ghc62317_0/ghc_112.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC’: /tmp/ghc62317_0/ghc_112.c:12:205: error: warning: pointer targets in passing argument 4 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:55:42: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 55 | const unsigned char *data, size_t data_len, | ~~~~~~~~~~~~~~~~~~~~~^~~~ | 55 | const unsigned char *data, size_t data_len, | ^ /tmp/ghc62317_0/ghc_112.c:12:213: error: warning: pointer targets in passing argument 6 of ‘HMAC’ differ in signedness [-Wpointer-sign] 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 12 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCHMAC(EVP_MD* a1, char* a2, HsInt32 a3, char* a4, HsWord64 a5, char* a6, unsigned int* a7) {HMAC(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/hmac.h:56:36: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 56 | unsigned char *md, unsigned int *md_len); | ~~~~~~~~~~~~~~~^~ | 56 | unsigned char *md, unsigned int *md_len); | ^ /tmp/ghc62317_0/ghc_112.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname’: /tmp/ghc62317_0/ghc_112.c:15:141: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 15 | EVP_MD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziDigestZCEVPzugetzudigestbyname(char* a1) {return EVP_get_digestbyname(a1);} | ^ [12 of 33] Compiling OpenSSL.EVP.Cipher /tmp/ghc62317_0/ghc_121.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname’: /tmp/ghc62317_0/ghc_121.c:10:145: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~ | 10 | EVP_CIPHER* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziCipherZCEVPzugetzucipherbyname(char* a1) {return EVP_get_cipherbyname(a1);} | ^ [13 of 33] Compiling OpenSSL.Cipher /tmp/ghc62317_0/ghc_130.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt’: /tmp/ghc62317_0/ghc_130.c:10:1: error: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~~~ | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^ In file included from /tmp/ghc62317_0/ghc_130.c:8:0: error: /usr/include/openssl/aes.h:66:6: error: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ | 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^ /tmp/ghc62317_0/ghc_130.c:10:207: error: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign] 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzucbczuencrypt(char* a1, HsWord8* a2, HsWord64 a3, AES_KEY* a4, unsigned char* a5, HsInt32 a6) {AES_cbc_encrypt(a1, a2, a3, a4, a5, a6);} | ^ /usr/include/openssl/aes.h:66:43: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ~~~~~~~~~~~~~~~~~~~~~^~ | 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^ /tmp/ghc62317_0/ghc_130.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey’: /tmp/ghc62317_0/ghc_130.c:13:1: error: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~~~~~~ | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:54:5: error: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc62317_0/ghc_130.c:13:181: error: warning: pointer targets in passing argument 1 of ‘AES_set_decrypt_key’ differ in signedness [-Wpointer-sign] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^~ | | | char * | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzudecryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_decrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:54:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc62317_0/ghc_130.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey’: /tmp/ghc62317_0/ghc_130.c:16:1: error: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:51:5: error: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ | 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^ /tmp/ghc62317_0/ghc_130.c:16:181: error: warning: pointer targets in passing argument 1 of ‘AES_set_encrypt_key’ differ in signedness [-Wpointer-sign] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^~ | | | char * | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziCipherZCAESzusetzuencryptzukey(char* a1, HsInt32 a2, AES_KEY* a3) {return AES_set_encrypt_key(a1, a2, a3);} | ^ /usr/include/openssl/aes.h:51:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^ [14 of 33] Compiling OpenSSL.BN /tmp/ghc62317_0/ghc_139.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange’: /tmp/ghc62317_0/ghc_139.c:10:1: error: warning: ‘BN_pseudo_rand_range’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzupseudozurandzurange(BIGNUM* a1, BIGNUM* a2) {return BN_pseudo_rand_range(a1, a2);} | ^ In file included from /tmp/ghc62317_0/ghc_139.c:8:0: error: /usr/include/openssl/bn.h:233:5: error: note: declared here 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^~~~~~~~~~~~~~~~~~~~ | 233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); | ^ /tmp/ghc62317_0/ghc_139.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn’: /tmp/ghc62317_0/ghc_139.c:25:154: error: warning: pointer targets in passing argument 1 of ‘BN_mpi2bn’ differ in signedness [-Wpointer-sign] 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^~ | | | char * | 25 | BIGNUM* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzumpi2bn(char* a1, HsInt32 a2, BIGNUM* a3) {return BN_mpi2bn(a1, a2, a3);} | ^ /usr/include/openssl/bn.h:256:40: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 256 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ~~~~~~~~~~~~~~~~~~~~~^ | 256 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); | ^ /tmp/ghc62317_0/ghc_139.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi’: /tmp/ghc62317_0/ghc_139.c:28:146: error: warning: pointer targets in passing argument 2 of ‘BN_bn2mpi’ differ in signedness [-Wpointer-sign] 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} | ^~ | | | char * | 28 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBNZCBNzubn2mpi(BIGNUM* a1, char* a2) {return BN_bn2mpi(a1, a2);} | ^ /usr/include/openssl/bn.h:257:47: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 257 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ~~~~~~~~~~~~~~~^~ | 257 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | ^ [15 of 33] Compiling OpenSSL.RSA /tmp/ghc62317_0/ghc_148.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams’: /tmp/ghc62317_0/ghc_148.c:11:1: error: warning: ‘RSA_get0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^~~~ | 11 | void ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zucrtzuparams(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_crt_params(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc62317_0/ghc_148.c:8:0: error: /usr/include/openssl/rsa.h:236:28: error: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ | 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^ /tmp/ghc62317_0/ghc_148.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors’: /tmp/ghc62317_0/ghc_148.c:15:1: error: warning: ‘RSA_get0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^~~~ | 15 | void ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zufactors(RSA* a1, BIGNUM** a2, BIGNUM** a3) {RSA_get0_factors(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:231:28: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^ /tmp/ghc62317_0/ghc_148.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey’: /tmp/ghc62317_0/ghc_148.c:19:1: error: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzuget0zukey(RSA* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {RSA_get0_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:228:28: error: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ | 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^ /tmp/ghc62317_0/ghc_148.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey’: /tmp/ghc62317_0/ghc_148.c:22:1: error: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^~~ | 22 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzugeneratezukey(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return RSA_generate_key(a1, a2, a3, a4);} | ^ /usr/include/openssl/rsa.h:264:30: error: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ | 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^ /tmp/ghc62317_0/ghc_148.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze’: /tmp/ghc62317_0/ghc_148.c:35:1: error: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^~~~~~~ | 35 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAzusizze(RSA* a1) {return RSA_size(a1);} | ^ /usr/include/openssl/rsa.h:215:27: error: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ | 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^ /tmp/ghc62317_0/ghc_148.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup’: /tmp/ghc62317_0/ghc_148.c:38:1: error: warning: ‘RSAPrivateKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^~~ | 38 | RSA* ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPrivateKeyzudup(RSA* a1) {return RSAPrivateKey_dup(a1);} | ^ In file included from /usr/include/openssl/rsa.h:21:0: error: /usr/include/openssl/rsa.h:460:1: error: note: declared here 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 460 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPrivateKey) | ^ /tmp/ghc62317_0/ghc_148.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup’: /tmp/ghc62317_0/ghc_148.c:41:1: error: warning: ‘RSAPublicKey_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^~~ | 41 | RSA* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziRSAZCRSAPublicKeyzudup(RSA* a1) {return RSAPublicKey_dup(a1);} | ^ /usr/include/openssl/rsa.h:459:1: error: note: declared here 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 459 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey) | ^ [16 of 33] Compiling OpenSSL.DER /tmp/ghc62317_0/ghc_157.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey’: /tmp/ghc62317_0/ghc_157.c:10:1: error: warning: ‘i2d_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPrivateKey(RSA* a1, HsWord8** a2) {return i2d_RSAPrivateKey(a1, a2);} | ^ In file included from cbits/HsOpenSSL.h:3, from /tmp/ghc62317_0/ghc_157.c:8:0: error: /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc62317_0/ghc_157.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey’: /tmp/ghc62317_0/ghc_157.c:13:1: error: warning: ‘d2i_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^~~ | 13 | RSA* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPrivateKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPrivateKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:320:1: error: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc62317_0/ghc_157.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey’: /tmp/ghc62317_0/ghc_157.c:16:1: error: warning: ‘i2d_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^~~~~~~ | 16 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCi2dzuRSAPublicKey(RSA* a1, HsWord8** a2) {return i2d_RSAPublicKey(a1, a2);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ /tmp/ghc62317_0/ghc_157.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey’: /tmp/ghc62317_0/ghc_157.c:19:1: error: warning: ‘d2i_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^~~ | 19 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDERZCd2izuRSAPublicKey(RSA** a1, HsWord8** a2, HsInt64 a3) {return d2i_RSAPublicKey(a1, a2, a3);} | ^ /usr/include/openssl/rsa.h:318:1: error: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^ [17 of 33] Compiling OpenSSL.DSA /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey’: /tmp/ghc62317_0/ghc_166.c:10:1: error: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zukey(void* a1, BIGNUM* a2, BIGNUM* a3) {return DSA_set0_key(a1, a2, a3);} | ^ In file included from /tmp/ghc62317_0/ghc_166.c:8:0: error: /usr/include/openssl/dsa.h:211:27: error: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ | 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg’: /tmp/ghc62317_0/ghc_166.c:13:1: error: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^~~~~~~ | 13 | HsInt32 ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuset0zupqg(void* a1, BIGNUM* a2, BIGNUM* a3, BIGNUM* a4) {return DSA_set0_pqg(a1, a2, a3, a4);} | ^ /usr/include/openssl/dsa.h:208:27: error: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ | 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey’: /tmp/ghc62317_0/ghc_166.c:16:1: error: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^~~~ | 16 | void ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zukey(void* a1, BIGNUM** a2, BIGNUM** a3) {DSA_get0_key(a1, a2, a3);} | ^ /usr/include/openssl/dsa.h:209:28: error: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ | 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg’: /tmp/ghc62317_0/ghc_166.c:19:1: error: warning: ‘DSA_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^~~~ | 19 | void ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzuget0zupqg(void* a1, BIGNUM** a2, BIGNUM** a3, BIGNUM** a4) {DSA_get0_pqg(a1, a2, a3, a4);} | ^ /usr/include/openssl/dsa.h:206:28: error: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ | 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze’: /tmp/ghc62317_0/ghc_166.c:21:1: error: warning: ‘DSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^~~~~~~ | 21 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzusizze(void* a1) {return DSA_size(a1);} | ^ /usr/include/openssl/dsa.h:135:27: error: note: declared here 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^~~~~~~~ | 135 | OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters’: /tmp/ghc62317_0/ghc_166.c:27:1: error: warning: ‘DSA_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^~~~ | 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/dsa.h:164:6: error: note: declared here 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^~~~~~~~~~~~~~~~~~~~~~~ | 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc62317_0/ghc_166.c:27:224: error: warning: pointer targets in passing argument 2 of ‘DSA_generate_parameters’ differ in signedness [-Wpointer-sign] 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 27 | void* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezuparameters(HsInt32 a1, char* a2, HsInt32 a3, int* a4, int* a5, void* a6, void* a7) {return DSA_generate_parameters(a1, a2, a3, a4, a5, a6, a7);} | ^ /usr/include/openssl/dsa.h:164:55: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ~~~~~~~~~~~~~~~^~~~ | 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify’: /tmp/ghc62317_0/ghc_166.c:30:204: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_verify’ differ in signedness [-Wpointer-sign] 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^~ | | | char * | 30 | HsInt32 ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazuverify(void* a1, char* a2, HsInt32 a3, BIGNUM* a4, BIGNUM* a5) {return HsOpenSSL_dsa_verify(a1, a2, a3, a4, a5);} | ^ In file included from /tmp/ghc62317_0/ghc_166.c:22:0: error: cbits/HsOpenSSL.h:109:57: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 109 | int HsOpenSSL_dsa_verify(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign’: /tmp/ghc62317_0/ghc_166.c:33:202: error: warning: pointer targets in passing argument 2 of ‘HsOpenSSL_dsa_sign’ differ in signedness [-Wpointer-sign] 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^~ | | | char * | 33 | HsInt32 ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCHsOpenSSLzudsazusign(void* a1, char* a2, HsInt32 a3, BIGNUM** a4, BIGNUM** a5) {return HsOpenSSL_dsa_sign(a1, a2, a3, a4, a5);} | ^ cbits/HsOpenSSL.h:107:55: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 107 | int HsOpenSSL_dsa_sign(DSA *dsa, const unsigned char *ddata, int len, | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey’: /tmp/ghc62317_0/ghc_166.c:35:1: error: warning: ‘DSA_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^~~~ | 35 | void ghczuwrapperZC10ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzugeneratezukey(void* a1) {DSA_generate_key(a1);} | ^ /usr/include/openssl/dsa.h:179:27: error: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ | 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew’: /tmp/ghc62317_0/ghc_166.c:37:1: error: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^~~~ | 37 | void* ghczuwrapperZC11ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzunew(void) {return DSA_new();} | ^ /usr/include/openssl/dsa.h:130:28: error: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ | 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^ /tmp/ghc62317_0/ghc_166.c: In function ‘ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree’: /tmp/ghc62317_0/ghc_166.c:42:1: error: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^~~~ | 42 | void ghczuwrapperZC13ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDSAZCDSAzufree(void* a1) {DSA_free(a1);} | ^ /usr/include/openssl/dsa.h:132:28: error: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ | 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^ [18 of 33] Compiling OpenSSL.EVP.PKey /tmp/ghc62317_0/ghc_175.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA’: /tmp/ghc62317_0/ghc_175.c:10:1: error: warning: ‘EVP_PKEY_set1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^~~~~~~ | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuDSA(EVP_PKEY* a1, void* a2) {return EVP_PKEY_set1_DSA(a1, a2);} | ^ In file included from /tmp/ghc62317_0/ghc_175.c:8:0: error: /usr/include/openssl/evp.h:1372:5: error: note: declared here 1372 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1372 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^ /tmp/ghc62317_0/ghc_175.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA’: /tmp/ghc62317_0/ghc_175.c:13:1: error: warning: ‘EVP_PKEY_get1_DSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^~~~ | 13 | void* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuDSA(EVP_PKEY* a1) {return EVP_PKEY_get1_DSA(a1);} | ^ /usr/include/openssl/evp.h:1376:16: error: note: declared here 1376 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1376 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^ /tmp/ghc62317_0/ghc_175.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA’: /tmp/ghc62317_0/ghc_175.c:17:1: error: warning: ‘EVP_PKEY_set1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuset1zuRSA(EVP_PKEY* a1, RSA* a2) {return EVP_PKEY_set1_RSA(a1, a2);} | ^ /usr/include/openssl/evp.h:1363:5: error: note: declared here 1363 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ | 1363 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^ /tmp/ghc62317_0/ghc_175.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA’: /tmp/ghc62317_0/ghc_175.c:21:1: error: warning: ‘EVP_PKEY_get1_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^~~ | 21 | RSA* ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziPKeyZCEVPzuPKEYzuget1zuRSA(EVP_PKEY* a1) {return EVP_PKEY_get1_RSA(a1);} | ^ /usr/include/openssl/evp.h:1367:16: error: note: declared here 1367 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ | 1367 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^ [19 of 33] Compiling OpenSSL.EVP.Verify /tmp/ghc62317_0/ghc_184.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal’: /tmp/ghc62317_0/ghc_184.c:10:198: error: warning: pointer targets in passing argument 2 of ‘EVP_VerifyFinal’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziVerifyZCEVPzuVerifyFinal(EVP_MD_CTX* a1, char* a2, HsWord32 a3, EVP_PKEY* a4) {return EVP_VerifyFinal(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc62317_0/ghc_184.c:8:0: error: /usr/include/openssl/evp.h:825:66: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 825 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 825 | __owur int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, | ^ [20 of 33] Compiling OpenSSL.EVP.Sign [21 of 33] Compiling OpenSSL.EVP.Seal /tmp/ghc62317_0/ghc_202.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit’: /tmp/ghc62317_0/ghc_202.c:10:242: error: warning: pointer targets in passing argument 5 of ‘EVP_SealInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziSealZCEVPzuSealInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char** a3, int* a4, char* a5, EVP_PKEY** a6, HsInt32 a7) {return EVP_SealInit(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /tmp/ghc62317_0/ghc_202.c:8:0: error: /usr/include/openssl/evp.h:863:70: error: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 863 | unsigned char **ek, int *ekl, unsigned char *iv, | ~~~~~~~~~~~~~~~^~ | 863 | unsigned char **ek, int *ekl, unsigned char *iv, | ^ [22 of 33] Compiling OpenSSL.EVP.Open /tmp/ghc62317_0/ghc_211.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit’: /tmp/ghc62317_0/ghc_211.c:10:223: error: warning: pointer targets in passing argument 3 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^ In file included from /tmp/ghc62317_0/ghc_211.c:8:0: error: /usr/include/openssl/evp.h:858:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 858 | const unsigned char *ek, int ekl, | ~~~~~~~~~~~~~~~~~~~~~^~ | 858 | const unsigned char *ek, int ekl, | ^ /tmp/ghc62317_0/ghc_211.c:10:231: error: warning: pointer targets in passing argument 5 of ‘EVP_OpenInit’ differ in signedness [-Wpointer-sign] 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^~ | | | char * | 10 | HsInt32 ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziEVPziOpenZCEVPzuOpenInit(EVP_CIPHER_CTX* a1, EVP_CIPHER* a2, char* a3, HsInt32 a4, char* a5, EVP_PKEY* a6) {return EVP_OpenInit(a1, a2, a3, a4, a5, a6);} | ^ /usr/include/openssl/evp.h:859:46: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 859 | const unsigned char *iv, EVP_PKEY *priv); | ~~~~~~~~~~~~~~~~~~~~~^~ | 859 | const unsigned char *iv, EVP_PKEY *priv); | ^ [23 of 33] Compiling OpenSSL.DH /tmp/ghc62317_0/ghc_220.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey’: /tmp/ghc62317_0/ghc_220.c:14:136: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 14 | BIGNUM* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCHsOpenSSLzuDHzugetzupubzukey(DH* a1) {return HsOpenSSL_DH_get_pub_key(a1);} | ^ /tmp/ghc62317_0/ghc_220.c: In function ‘ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze’: /tmp/ghc62317_0/ghc_220.c:20:1: error: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^~~~~~~ | 20 | HsInt32 ghczuwrapperZC3ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzusizze(DH* a1) {return DH_size(a1);} | ^ In file included from cbits/HsOpenSSL.h:6, from /tmp/ghc62317_0/ghc_220.c:8:0: error: /usr/include/openssl/dh.h:210:27: error: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ | 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^ /tmp/ghc62317_0/ghc_220.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck’: /tmp/ghc62317_0/ghc_220.c:23:1: error: warning: ‘DH_check’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^~~~~~ | 23 | HsBool ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucheck(DH* a1, int* a2) {return DH_check(a1, a2);} | ^ /usr/include/openssl/dh.h:227:27: error: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^~~~~~~~ | 227 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); | ^ /tmp/ghc62317_0/ghc_220.c: In function ‘ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey’: /tmp/ghc62317_0/ghc_220.c:27:1: error: warning: ‘DH_compute_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^~~~~~~ | 27 | HsInt32 ghczuwrapperZC5ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzucomputezukey(HsWord8* a1, BIGNUM* a2, DH* a3) {return DH_compute_key(a1, a2, a3);} | ^ /usr/include/openssl/dh.h:231:27: error: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ | 231 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^ /tmp/ghc62317_0/ghc_220.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey’: /tmp/ghc62317_0/ghc_220.c:30:1: error: warning: ‘DH_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^~~~~~~ | 30 | HsInt32 ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezukey(DH* a1) {return DH_generate_key(a1);} | ^ /usr/include/openssl/dh.h:230:27: error: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ | 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^ /tmp/ghc62317_0/ghc_220.c: In function ‘ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters’: /tmp/ghc62317_0/ghc_220.c:33:1: error: warning: ‘DH_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^~ | 33 | DH* ghczuwrapperZC7ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziDHZCDHzugeneratezuparameters(HsInt32 a1, HsInt32 a2, void* a3, void* a4) {return DH_generate_parameters(a1, a2, a3, a4);} | ^ /usr/include/openssl/dh.h:325:29: error: note: declared here 325 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^~~~~~~~~~~~~~~~~~~~~~ | 325 | OSSL_DEPRECATEDIN_0_9_8 DH *DH_generate_parameters(int prime_len, int generator, | ^ [24 of 33] Compiling OpenSSL.BIO /tmp/ghc62317_0/ghc_229.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull’: /tmp/ghc62317_0/ghc_229.c:10:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^~~~~~~~~~~~ | 10 | BIO_METHOD* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszunull(void) {return BIO_s_null();} | ^ /tmp/ghc62317_0/ghc_229.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem’: /tmp/ghc62317_0/ghc_229.c:16:122: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^~~~~~~~~~~ | 16 | BIO_METHOD* ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzuszumem(void) {return BIO_s_mem();} | ^ /tmp/ghc62317_0/ghc_229.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer’: /tmp/ghc62317_0/ghc_229.c:22:125: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^~~~~~~~~~~~~~ | 22 | BIO_METHOD* ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubuffer(void) {return BIO_f_buffer();} | ^ /tmp/ghc62317_0/ghc_229.c: In function ‘ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64’: /tmp/ghc62317_0/ghc_229.c:27:125: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^~~~~~~~~~~~~~ | 27 | BIO_METHOD* ghczuwrapperZC6ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziBIOZCBIOzufzubase64(void) {return BIO_f_base64();} | ^ [25 of 33] Compiling OpenSSL.ASN1 /tmp/ghc62317_0/ghc_238.c: In function ‘ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln’: /tmp/ghc62317_0/ghc_238.c:36:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^~~~~~~~~~~~~~ | 36 | char* ghczuwrapperZC8ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2ln(HsInt32 a1) {return OBJ_nid2ln(a1);} | ^ /tmp/ghc62317_0/ghc_238.c: In function ‘ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn’: /tmp/ghc62317_0/ghc_238.c:38:123: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^~~~~~~~~~~~~~ | 38 | char* ghczuwrapperZC9ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziASN1ZCOBJzunid2sn(HsInt32 a1) {return OBJ_nid2sn(a1);} | ^ [26 of 33] Compiling OpenSSL.X509.Name /tmp/ghc62317_0/ghc_247.c: In function ‘ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt’: /tmp/ghc62317_0/ghc_247.c:24:261: error: warning: pointer targets in passing argument 4 of ‘X509_NAME_add_entry_by_txt’ differ in signedness [-Wpointer-sign] 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^~ | | | char * | 24 | HsInt32 ghczuwrapperZC4ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziNameZCX509zuNAMEzuaddzuentryzubyzutxt(X509_NAME* a1, char* a2, HsInt32 a3, char* a4, HsInt32 a5, HsInt32 a6, HsInt32 a7) {return X509_NAME_add_entry_by_txt(a1, a2, a3, a4, a5, a6, a7);} | ^ In file included from /tmp/ghc62317_0/ghc_247.c:8:0: error: /usr/include/openssl/x509.h:1061:53: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1061 | const unsigned char *bytes, int len, int loc, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ | 1061 | const unsigned char *bytes, int len, int loc, | ^ [27 of 33] Compiling OpenSSL.X509 [28 of 33] Compiling OpenSSL.X509.Request [29 of 33] Compiling OpenSSL.X509.Revocation /tmp/ghc62317_0/ghc_274.c: In function ‘ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate’: /tmp/ghc62317_0/ghc_274.c:11:170: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 11 | ASN1_TIME* ghczuwrapperZC0ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zurevocationDate(X509_REVOKED* a1) {return X509_REVOKED_get0_revocationDate(a1);} | ^ /tmp/ghc62317_0/ghc_274.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber’: /tmp/ghc62317_0/ghc_274.c:15:171: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 15 | ASN1_INTEGER* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCX509zuREVOKEDzuget0zuserialNumber(X509_REVOKED* a1) {return X509_REVOKED_get0_serialNumber(a1);} | ^ /tmp/ghc62317_0/ghc_274.c: In function ‘ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate’: /tmp/ghc62317_0/ghc_274.c:60:169: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 60 | ASN1_TIME* ghczuwrapperZC14ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzunextUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_nextUpdate(a1);} | ^ /tmp/ghc62317_0/ghc_274.c: In function ‘ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate’: /tmp/ghc62317_0/ghc_274.c:64:169: error: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 64 | ASN1_TIME* ghczuwrapperZC15ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziX509ziRevocationZCHsOpenSSLzuX509zuCRLzugetzulastUpdate(X509_CRL* a1) {return HsOpenSSL_X509_CRL_get_lastUpdate(a1);} | ^ [30 of 33] Compiling OpenSSL.X509.Store [31 of 33] Compiling OpenSSL.Session /tmp/ghc62317_0/ghc_292.c: In function ‘ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos’: /tmp/ghc62317_0/ghc_292.c:72:197: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_alpn_protos’ differ in signedness [-Wpointer-sign] 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^~ | | | char * | 72 | HsInt32 ghczuwrapperZC17ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzualpnzuprotos(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_alpn_protos(a1, a2, a3);} | ^ In file included from /tmp/ghc62317_0/ghc_292.c:8:0: error: /usr/include/openssl/ssl.h:841:71: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | 841 | __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | ^ /tmp/ghc62317_0/ghc_292.c: In function ‘ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext’: /tmp/ghc62317_0/ghc_292.c:75:212: error: warning: pointer targets in passing argument 2 of ‘SSL_CTX_set_session_id_context’ differ in signedness [-Wpointer-sign] 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^~ | | | char * | 75 | HsInt32 ghczuwrapperZC18ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziSessionZCSSLzuCTXzusetzusessionzuidzucontext(SSL_CTX* a1, char* a2, HsWord32 a3) {return SSL_CTX_set_session_id_context(a1, a2, a3);} | ^ /usr/include/openssl/ssl.h:1875:64: error: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1875 | const unsigned char *sid_ctx, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | 1875 | const unsigned char *sid_ctx, | ^ [32 of 33] Compiling OpenSSL.PKCS7 [33 of 33] Compiling OpenSSL.PEM /tmp/ghc62317_0/ghc_310.c: In function ‘ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams’: /tmp/ghc62317_0/ghc_310.c:13:1: error: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^~ | 13 | DH* ghczuwrapperZC1ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzureadzubiozuDHparams(BIO* a1, DH** a2, void* a3, void* a4) {return PEM_read_bio_DHparams(a1, a2, a3, a4);} | ^ In file included from /tmp/ghc62317_0/ghc_310.c:10:0: error: /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ /tmp/ghc62317_0/ghc_310.c: In function ‘ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams’: /tmp/ghc62317_0/ghc_310.c:17:1: error: warning: ‘PEM_write_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^~~~~~~ | 17 | HsInt32 ghczuwrapperZC2ZCHsOpenSSLzm0zi11zi7zi7zm5lZZTd9ZZg9r5GzzG9Yu4yqCZZZCOpenSSLziPEMZCPEMzuwritezubiozuDHparams(BIO* a1, DH* a2) {return PEM_write_bio_DHparams(a1, a2);} | ^ /usr/include/openssl/pem.h:473:1: error: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ | 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DHparams_dup’: cbits/HsOpenSSL.c:57:5: error: warning: ‘DHparams_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | return DHparams_dup(dh); | ^~~~~~ | 57 | return DHparams_dup(dh); | ^ In file included from cbits/HsOpenSSL.h:3, from cbits/HsOpenSSL.c:2:0: error: /usr/include/openssl/dh.h:197:1: error: note: declared here 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_HMAC_CTX_new’: cbits/HsOpenSSL.c:76:5: error: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | return HMAC_CTX_new(); | ^~~~~~ | 76 | return HMAC_CTX_new(); | ^ In file included from cbits/HsOpenSSL.h:9:0: error: /usr/include/openssl/hmac.h:33:33: error: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ | 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_HMAC_CTX_free’: cbits/HsOpenSSL.c:86:5: error: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ | 86 | HMAC_CTX_free(ctx); | ^ /usr/include/openssl/hmac.h:35:28: error: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ | 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DH_get_pub_key’: cbits/HsOpenSSL.c:185:5: error: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | DH_get0_key(dh, pub_key, priv_key); | ^~~~~~~~~~~ | 185 | DH_get0_key(dh, pub_key, priv_key); | ^ In file included from cbits/HsOpenSSL.h:6:0: error: /usr/include/openssl/dh.h:263:28: error: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ | 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DH_length’: cbits/HsOpenSSL.c:197:5: error: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | DH_get0_pqg(dh, p, q, g); | ^~~~~~~~~~~ | 197 | DH_get0_pqg(dh, p, q, g); | ^ /usr/include/openssl/dh.h:260:28: error: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ | 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_dsa_sign’: cbits/HsOpenSSL.c:303:3: error: warning: ‘DSA_do_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^~~~~~~ | 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from cbits/HsOpenSSL.h:14:0: error: /usr/include/openssl/dsa.h:118:32: error: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ | 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_dsa_verify’: cbits/HsOpenSSL.c:325:3: error: warning: ‘DSA_do_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^~~ | 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^ /usr/include/openssl/dsa.h:120:27: error: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ | 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DSAPublicKey_dup’: cbits/HsOpenSSL.c:349:5: error: warning: ‘i2d_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:349:5: error: warning: ‘d2i_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DSAPrivateKey_dup’: cbits/HsOpenSSL.c:353:5: error: warning: ‘i2d_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:353:5: error: warning: ‘d2i_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: At top level: cbits/HsOpenSSL.c:274:13: error: warning: ‘HsOpenSSL_dynlockDestroyCallback’ defined but not used [-Wunused-function] 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:265:13: error: warning: ‘HsOpenSSL_dynlockLockCallback’ defined but not used [-Wunused-function] 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:256:37: error: warning: ‘HsOpenSSL_dynlockCreateCallback’ defined but not used [-Wunused-function] 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^ cbits/HsOpenSSL.c:252:22: error: warning: ‘HsOpenSSL_idCallback’ defined but not used [-Wunused-function] 252 | static unsigned long HsOpenSSL_idCallback() { | ^~~~~~~~~~~~~~~~~~~~ | 252 | static unsigned long HsOpenSSL_idCallback() { | ^ cbits/HsOpenSSL.c:243:13: error: warning: ‘HsOpenSSL_lockingCallback’ defined but not used [-Wunused-function] 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DHparams_dup’: cbits/HsOpenSSL.c:57:5: error: warning: ‘DHparams_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | return DHparams_dup(dh); | ^~~~~~ | 57 | return DHparams_dup(dh); | ^ In file included from cbits/HsOpenSSL.h:3, from cbits/HsOpenSSL.c:2:0: error: /usr/include/openssl/dh.h:197:1: error: note: declared here 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_HMAC_CTX_new’: cbits/HsOpenSSL.c:76:5: error: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | return HMAC_CTX_new(); | ^~~~~~ | 76 | return HMAC_CTX_new(); | ^ In file included from cbits/HsOpenSSL.h:9:0: error: /usr/include/openssl/hmac.h:33:33: error: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ | 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_HMAC_CTX_free’: cbits/HsOpenSSL.c:86:5: error: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ | 86 | HMAC_CTX_free(ctx); | ^ /usr/include/openssl/hmac.h:35:28: error: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ | 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DH_get_pub_key’: cbits/HsOpenSSL.c:185:5: error: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | DH_get0_key(dh, pub_key, priv_key); | ^~~~~~~~~~~ | 185 | DH_get0_key(dh, pub_key, priv_key); | ^ In file included from cbits/HsOpenSSL.h:6:0: error: /usr/include/openssl/dh.h:263:28: error: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ | 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DH_length’: cbits/HsOpenSSL.c:197:5: error: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | DH_get0_pqg(dh, p, q, g); | ^~~~~~~~~~~ | 197 | DH_get0_pqg(dh, p, q, g); | ^ /usr/include/openssl/dh.h:260:28: error: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ | 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_dsa_sign’: cbits/HsOpenSSL.c:303:3: error: warning: ‘DSA_do_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^~~~~~~ | 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from cbits/HsOpenSSL.h:14:0: error: /usr/include/openssl/dsa.h:118:32: error: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ | 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_dsa_verify’: cbits/HsOpenSSL.c:325:3: error: warning: ‘DSA_do_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^~~ | 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^ /usr/include/openssl/dsa.h:120:27: error: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ | 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DSAPublicKey_dup’: cbits/HsOpenSSL.c:349:5: error: warning: ‘i2d_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:349:5: error: warning: ‘d2i_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DSAPrivateKey_dup’: cbits/HsOpenSSL.c:353:5: error: warning: ‘i2d_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:353:5: error: warning: ‘d2i_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: At top level: cbits/HsOpenSSL.c:274:13: error: warning: ‘HsOpenSSL_dynlockDestroyCallback’ defined but not used [-Wunused-function] 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:265:13: error: warning: ‘HsOpenSSL_dynlockLockCallback’ defined but not used [-Wunused-function] 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:256:37: error: warning: ‘HsOpenSSL_dynlockCreateCallback’ defined but not used [-Wunused-function] 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^ cbits/HsOpenSSL.c:252:22: error: warning: ‘HsOpenSSL_idCallback’ defined but not used [-Wunused-function] 252 | static unsigned long HsOpenSSL_idCallback() { | ^~~~~~~~~~~~~~~~~~~~ | 252 | static unsigned long HsOpenSSL_idCallback() { | ^ cbits/HsOpenSSL.c:243:13: error: warning: ‘HsOpenSSL_lockingCallback’ defined but not used [-Wunused-function] 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DHparams_dup’: cbits/HsOpenSSL.c:57:5: error: warning: ‘DHparams_dup’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 57 | return DHparams_dup(dh); | ^~~~~~ | 57 | return DHparams_dup(dh); | ^ In file included from cbits/HsOpenSSL.h:3, from cbits/HsOpenSSL.c:2:0: error: /usr/include/openssl/dh.h:197:1: error: note: declared here 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 197 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_HMAC_CTX_new’: cbits/HsOpenSSL.c:76:5: error: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | return HMAC_CTX_new(); | ^~~~~~ | 76 | return HMAC_CTX_new(); | ^ In file included from cbits/HsOpenSSL.h:9:0: error: /usr/include/openssl/hmac.h:33:33: error: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ | 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_HMAC_CTX_free’: cbits/HsOpenSSL.c:86:5: error: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ | 86 | HMAC_CTX_free(ctx); | ^ /usr/include/openssl/hmac.h:35:28: error: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ | 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DH_get_pub_key’: cbits/HsOpenSSL.c:185:5: error: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | DH_get0_key(dh, pub_key, priv_key); | ^~~~~~~~~~~ | 185 | DH_get0_key(dh, pub_key, priv_key); | ^ In file included from cbits/HsOpenSSL.h:6:0: error: /usr/include/openssl/dh.h:263:28: error: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ | 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DH_length’: cbits/HsOpenSSL.c:197:5: error: warning: ‘DH_get0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | DH_get0_pqg(dh, p, q, g); | ^~~~~~~~~~~ | 197 | DH_get0_pqg(dh, p, q, g); | ^ /usr/include/openssl/dh.h:260:28: error: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ | 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_dsa_sign’: cbits/HsOpenSSL.c:303:3: error: warning: ‘DSA_do_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^~~~~~~ | 303 | DSA_SIG *const sig = DSA_do_sign(ddata, dlen, dsa); | ^ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/pem.h:23, from cbits/HsOpenSSL.h:14:0: error: /usr/include/openssl/dsa.h:118:32: error: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ | 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_dsa_verify’: cbits/HsOpenSSL.c:325:3: error: warning: ‘DSA_do_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^~~ | 325 | int res = DSA_do_verify(ddata, dlen, sig, dsa); | ^ /usr/include/openssl/dsa.h:120:27: error: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ | 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DSAPublicKey_dup’: cbits/HsOpenSSL.c:349:5: error: warning: ‘i2d_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:349:5: error: warning: ‘d2i_DSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 349 | return DSAPublicKey_dup(dsa); | ^~~~~~ | 349 | return DSAPublicKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:153:1: error: note: declared here 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 153 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: In function ‘HsOpenSSL_DSAPrivateKey_dup’: cbits/HsOpenSSL.c:353:5: error: warning: ‘i2d_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c:353:5: error: warning: ‘d2i_DSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | return DSAPrivateKey_dup(dsa); | ^~~~~~ | 353 | return DSAPrivateKey_dup(dsa); | ^ /usr/include/openssl/dsa.h:155:1: error: note: declared here 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 155 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, | ^ cbits/HsOpenSSL.c: At top level: cbits/HsOpenSSL.c:274:13: error: warning: ‘HsOpenSSL_dynlockDestroyCallback’ defined but not used [-Wunused-function] 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 274 | static void HsOpenSSL_dynlockDestroyCallback(struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:265:13: error: warning: ‘HsOpenSSL_dynlockLockCallback’ defined but not used [-Wunused-function] 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 265 | static void HsOpenSSL_dynlockLockCallback(int mode, struct CRYPTO_dynlock_value* val, const char* file, int line) { | ^ cbits/HsOpenSSL.c:256:37: error: warning: ‘HsOpenSSL_dynlockCreateCallback’ defined but not used [-Wunused-function] 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 256 | static struct CRYPTO_dynlock_value* HsOpenSSL_dynlockCreateCallback(const char* file, int line) { | ^ cbits/HsOpenSSL.c:252:22: error: warning: ‘HsOpenSSL_idCallback’ defined but not used [-Wunused-function] 252 | static unsigned long HsOpenSSL_idCallback() { | ^~~~~~~~~~~~~~~~~~~~ | 252 | static unsigned long HsOpenSSL_idCallback() { | ^ cbits/HsOpenSSL.c:243:13: error: warning: ‘HsOpenSSL_lockingCallback’ defined but not used [-Wunused-function] 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | 243 | static void HsOpenSSL_lockingCallback(int mode, int n, const char* file, int line) { | ^ Preprocessing test suite 'test-der' for HsOpenSSL-0.11.7.7.. Building test suite 'test-der' for HsOpenSSL-0.11.7.7.. [1 of 2] Compiling TestUtils [2 of 2] Compiling Main [3 of 3] Linking dist/build/test-der/test-der Preprocessing test suite 'test-evp-digest' for HsOpenSSL-0.11.7.7.. Building test suite 'test-evp-digest' for HsOpenSSL-0.11.7.7.. [1 of 2] Compiling TestUtils [2 of 2] Compiling Main [3 of 3] Linking dist/build/test-evp-digest/test-evp-digest Preprocessing test suite 'test-dsa' for HsOpenSSL-0.11.7.7.. Building test suite 'test-dsa' for HsOpenSSL-0.11.7.7.. [1 of 2] Compiling TestUtils [2 of 2] Compiling Main [3 of 3] Linking dist/build/test-dsa/test-dsa Preprocessing test suite 'test-evp-base64' for HsOpenSSL-0.11.7.7.. Building test suite 'test-evp-base64' for HsOpenSSL-0.11.7.7.. [1 of 2] Compiling TestUtils [2 of 2] Compiling Main [3 of 3] Linking dist/build/test-evp-base64/test-evp-base64 + '[' -n dist/build/libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ-ghc9.6.6.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for HsOpenSSL-0.11.7.7.. Running Haddock on library for HsOpenSSL-0.11.7.7.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.6.0, base-4.18.2.1, bytestring-0.11.5.3, deepseq-1.4.8.1, directory-1.3.8.5, exceptions-0.10.7, filepath-1.4.300.1, ghc-bignum-1.3, ghc-boot-th-9.6.6, ghc-prim-0.10.0, mtl-2.3.1, network-3.1.4.0, pretty-1.1.3.6, stm-2.5.1.0, template-haskell-2.20.0.0, time-1.12.2, transformers-0.6.1.0, unix-2.8.4.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 100% ( 2 / 2) in 'OpenSSL' 100% ( 9 / 9) in 'OpenSSL.EVP.Base64' 100% ( 5 / 5) in 'OpenSSL.Random' Warning: 'cipher' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 11% ( 5 / 43) in 'OpenSSL.EVP.Internal' Missing documentation for: Module header EVP_CIPHER (OpenSSL/EVP/Internal.hsc:95) withCipherPtr (OpenSSL/EVP/Internal.hsc:97) cipherIvLength (OpenSSL/EVP/Internal.hsc:103) CipherCtx (OpenSSL/EVP/Internal.hsc:108) EVP_CIPHER_CTX (OpenSSL/EVP/Internal.hsc:109) newCipherCtx (OpenSSL/EVP/Internal.hsc:131) withCipherCtxPtr (OpenSSL/EVP/Internal.hsc:137) withNewCipherCtxPtr (OpenSSL/EVP/Internal.hsc:140) cipherSetPadding (OpenSSL/EVP/Internal.hsc:158) cipherInitBS (OpenSSL/EVP/Internal.hsc:173) cipherUpdateBS (OpenSSL/EVP/Internal.hsc:191) cipherFinalBS (OpenSSL/EVP/Internal.hsc:206) cipherStrictly (OpenSSL/EVP/Internal.hsc:216) cipherLazily (OpenSSL/EVP/Internal.hsc:222) EVP_MD (OpenSSL/EVP/Internal.hsc:235) withMDPtr (OpenSSL/EVP/Internal.hsc:237) DigestCtx (OpenSSL/EVP/Internal.hsc:242) EVP_MD_CTX (OpenSSL/EVP/Internal.hsc:243) withDigestCtxPtr (OpenSSL/EVP/Internal.hsc:268) digestUpdateBS (OpenSSL/EVP/Internal.hsc:287) digestFinalBS (OpenSSL/EVP/Internal.hsc:298) digestFinal (OpenSSL/EVP/Internal.hsc:306) digestStrictly (OpenSSL/EVP/Internal.hsc:315) digestLazily (OpenSSL/EVP/Internal.hsc:321) HmacCtx (OpenSSL/EVP/Internal.hsc:328) HMAC_CTX (OpenSSL/EVP/Internal.hsc:329) withHmacCtxPtr (OpenSSL/EVP/Internal.hsc:351) hmacUpdateBS (OpenSSL/EVP/Internal.hsc:363) hmacFinalBS (OpenSSL/EVP/Internal.hsc:369) hmacLazily (OpenSSL/EVP/Internal.hsc:377) EVP_PKEY (OpenSSL/EVP/Internal.hsc:388) createPKey (OpenSSL/EVP/Internal.hsc:418) wrapPKeyPtr (OpenSSL/EVP/Internal.hsc:415) withPKeyPtr (OpenSSL/EVP/Internal.hsc:424) withPKeyPtr' (OpenSSL/EVP/Internal.hsc:427) unsafePKeyToPtr (OpenSSL/EVP/Internal.hsc:432) touchPKey (OpenSSL/EVP/Internal.hsc:435) 90% ( 9 / 10) in 'OpenSSL.EVP.Digest' Missing documentation for: hmacLBS (OpenSSL/EVP/Digest.hsc:104) 100% ( 9 / 9) in 'OpenSSL.EVP.Cipher' 60% ( 3 / 5) in 'OpenSSL.Cipher' Missing documentation for: Mode (OpenSSL/Cipher.hsc:37) AESCtx (OpenSSL/Cipher.hsc:44) 88% ( 22 / 25) in 'OpenSSL.BN' 89% ( 17 / 19) in 'OpenSSL.RSA' 100% ( 5 / 5) in 'OpenSSL.DER' 94% ( 18 / 19) in 'OpenSSL.DSA' 100% ( 5 / 5) in 'OpenSSL.EVP.PKey' 100% ( 5 / 5) in 'OpenSSL.EVP.Verify' 100% ( 4 / 4) in 'OpenSSL.EVP.Sign' 100% ( 4 / 4) in 'OpenSSL.EVP.Seal' 100% ( 4 / 4) in 'OpenSSL.EVP.Open' 72% ( 8 / 11) in 'OpenSSL.DH' Missing documentation for: DHP (OpenSSL/DH/Internal.hs:28) DH (OpenSSL/DH/Internal.hs:39) DHGen (OpenSSL/DH.hs:35) 81% ( 27 / 33) in 'OpenSSL.X509' Warning: 'subjectAltName' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 86% ( 19 / 22) in 'OpenSSL.X509.Request' 88% ( 22 / 25) in 'OpenSSL.X509.Revocation' 31% ( 5 / 16) in 'OpenSSL.X509.Store' Warning: 'blocking' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'blocked' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 92% ( 59 / 64) in 'OpenSSL.Session' Missing documentation for: contextSetVerificationMode (OpenSSL/Session.hsc:297) contextSetALPNProtos (OpenSSL/Session.hsc:385) ShutdownType (OpenSSL/Session.hsc:758) SSLContext_ (OpenSSL/Session.hsc:134) SSL_ (OpenSSL/Session.hsc:418) 81% ( 13 / 16) in 'OpenSSL.PKCS7' 100% ( 27 / 27) in 'OpenSSL.PEM' Warning: OpenSSL: could not find link destinations for: - GHC.Types.IO Warning: OpenSSL.EVP.Base64: could not find link destinations for: - GHC.Base.String - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.Random: could not find link destinations for: - GHC.Types.Int - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.EVP.Internal: could not find link destinations for: - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Ptr.Ptr - GHC.Maybe.Nothing - GHC.ForeignPtr.ForeignPtr - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Digest: could not find link destinations for: - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Cipher: could not find link destinations for: - GHC.Base.String - GHC.Maybe.Maybe - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.Cipher: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Types.IO - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.BN: could not find link destinations for: - GHC.Types.Bool - GHC.Num.Integer.Integer - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.RSA: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Ptr.Ptr - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min Warning: OpenSSL.DER: could not find link destinations for: - GHC.Maybe.Maybe - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.DSA: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Ptr.Ptr - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.EVP.PKey: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - Data.Typeable.Internal.Typeable - GHC.Types.Bool - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Maybe.Nothing - GHC.Classes./= Warning: OpenSSL.EVP.Verify: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Types.IO - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Sign: could not find link destinations for: - GHC.Base.String - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Seal: could not find link destinations for: - GHC.Base.String - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.EVP.Open: could not find link destinations for: - GHC.Base.String - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.DH: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Types.Ordering - GHC.Types.IO - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Data.ByteString.Internal.Type.ByteString Warning: OpenSSL.X509: could not find link destinations for: - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.ForeignPtr.ForeignPtr - Data.ByteString.Lazy.Internal.ByteString - Data.Time.Clock.Internal.UTCTime.UTCTime Warning: OpenSSL.X509.Request: could not find link destinations for: - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - Foreign.C.Types.CInt - Data.ByteString.Lazy.Internal.ByteString Warning: OpenSSL.X509.Revocation: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - Data.Time.Clock.Internal.UTCTime.UTCTime Warning: OpenSSL.X509.Store: could not find link destinations for: - GHC.Types.IO Warning: OpenSSL.Session: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Base.fmap - GHC.Classes.Eq - GHC.Base.Monad - GHC.Base.Functor - GHC.Num.Num - GHC.Classes.Ord - GHC.Show.Show - GHC.Base.Applicative - Data.Foldable.Foldable - Data.Traversable.Traversable - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Ptr.Ptr - GHC.Types.Type - Data.Foldable.elem - Data.Foldable.foldMap - Data.Foldable.foldl - Data.Foldable.foldl1 - Data.Foldable.foldr - Data.Foldable.foldr1 - Data.Foldable.length - Data.Foldable.maximum - Data.Foldable.minimum - Data.Foldable.null - Data.Foldable.product - Data.Foldable.sum - Data.Traversable.mapM - Data.Traversable.sequence - Data.Traversable.sequenceA - Data.Traversable.traverse - GHC.Base.<$ - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString - Data.Foldable.foldl' - Data.Foldable.fold - Data.Foldable.foldMap' - Data.Foldable.foldr' - Data.Foldable.toList - System.Posix.Types.Fd - Network.Socket.Types.Socket Warning: OpenSSL.PKCS7: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= Warning: OpenSSL.PEM: could not find link destinations for: - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString Documentation created: dist/doc/html/HsOpenSSL/, dist/doc/html/HsOpenSSL/HsOpenSSL.txt Preprocessing test suite 'test-der' for HsOpenSSL-0.11.7.7.. Preprocessing test suite 'test-evp-digest' for HsOpenSSL-0.11.7.7.. Preprocessing test suite 'test-dsa' for HsOpenSSL-0.11.7.7.. Preprocessing test suite 'test-evp-base64' for HsOpenSSL-0.11.7.7.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jm6qee + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + '[' /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + mkdir /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd HsOpenSSL-0.11.7.7 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/HsOpenSSL-0.11.7.7 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -d HsOpenSSL-0.11.7.7.conf ']' + install -D --mode=0644 HsOpenSSL-0.11.7.7.conf /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/HsOpenSSL-0.11.7.7.conf + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/HsOpenSSL-0.11.7.7.conf ']' + rm -f ghc-HsOpenSSL.files ghc-HsOpenSSL-doc.files + touch ghc-HsOpenSSL.files ghc-HsOpenSSL-doc.files + for i in /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6${subsubdir}/libHSHsOpenSSL-0.11.7.7-*ghc9.6.6.so + '[' -x /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ-ghc9.6.6.so ']' + echo /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ-ghc9.6.6.so + pkgdir=/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/HsOpenSSL-0.11.7.7 + '[' -d /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/HsOpenSSL-0.11.7.7 ']' + find /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/HsOpenSSL-0.11.7.7 -type d -fprintf ghc-HsOpenSSL-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-HsOpenSSL-prof.files -o -fprint ghc-HsOpenSSL-devel.files + ls /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/HsOpenSSL-0.11.7.7.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.7 + '[' -d /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.7 ']' + echo /usr/share/doc/ghc/html/libraries/HsOpenSSL-0.11.7.7 + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT!!g' ghc-HsOpenSSL.files + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT!!g' ghc-HsOpenSSL-devel.files + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT!!g' ghc-HsOpenSSL-doc.files + for i in ghc-HsOpenSSL.files ghc-HsOpenSSL-devel.files ghc-HsOpenSSL-doc.files ghc-HsOpenSSL-prof.files + '[' -f ghc-HsOpenSSL-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT!!g' ghc-HsOpenSSL-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ-ghc9.6.6.so ++ sed -e 's@^/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ-ghc9.6.6.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.6.6/lib:/usr/lib64/ghc-9.6.6/lib/riscv64-linux-ghc-9.6.6 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/HsOpenSSL-0.11.7.7/libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ.a: replacing with normalized version /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/HsOpenSSL-0.11.7.7/libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ_p.a: replacing with normalized version Scanned 21 directories and 195 files, processed 84 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Iqpj4Q + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd HsOpenSSL-0.11.7.7 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 4 test suites... Test suite test-der: RUNNING... Test suite test-der: PASS Test suite logged to: dist/test/HsOpenSSL-0.11.7.7-test-der.log Test suite test-evp-digest: RUNNING... Test suite test-evp-digest: PASS Test suite logged to: dist/test/HsOpenSSL-0.11.7.7-test-evp-digest.log Test suite test-dsa: RUNNING... Test suite test-dsa: PASS Test suite logged to: dist/test/HsOpenSSL-0.11.7.7-test-dsa.log Test suite test-evp-base64: RUNNING... Test suite test-evp-base64: PASS Test suite logged to: dist/test/HsOpenSSL-0.11.7.7-test-evp-base64.log 4 of 4 test suites (4 of 4 test cases) passed. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ghc-HsOpenSSL-0.11.7.7-1.fc41.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BA80Am + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + cd HsOpenSSL-0.11.7.7 + LICENSEDIR=/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/licenses/ghc-HsOpenSSL + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/licenses/ghc-HsOpenSSL + cp -pr /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/HsOpenSSL-0.11.7.7/COPYING /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/licenses/ghc-HsOpenSSL + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HsOpenSSL = 0.11.7.7-1.fc41 ghc-HsOpenSSL(riscv-64) = 0.11.7.7-1.fc41 libHSHsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ-ghc9.6.6.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libHSarray-0.5.6.0-ghc9.6.6.so()(64bit) libHSbase-4.18.2.1-ghc9.6.6.so()(64bit) libHSbytestring-0.11.5.3-ghc9.6.6.so()(64bit) libHSdeepseq-1.4.8.1-ghc9.6.6.so()(64bit) libHSdirectory-1.3.8.5-ghc9.6.6.so()(64bit) libHSexceptions-0.10.7-ghc9.6.6.so()(64bit) libHSfilepath-1.4.300.1-ghc9.6.6.so()(64bit) libHSghc-bignum-1.3-ghc9.6.6.so()(64bit) libHSghc-boot-th-9.6.6-ghc9.6.6.so()(64bit) libHSghc-prim-0.10.0-ghc9.6.6.so()(64bit) libHSmtl-2.3.1-ghc9.6.6.so()(64bit) libHSnetwork-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e-ghc9.6.6.so()(64bit) libHSpretty-1.1.3.6-ghc9.6.6.so()(64bit) libHSstm-2.5.1.0-ghc9.6.6.so()(64bit) libHStemplate-haskell-2.20.0.0-ghc9.6.6.so()(64bit) libHStime-1.12.2-ghc9.6.6.so()(64bit) libHStransformers-0.6.1.0-ghc9.6.6.so()(64bit) libHSunix-2.8.4.0-ghc9.6.6.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: ghc-HsOpenSSL-devel-0.11.7.7-1.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1xPWzK + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + cd HsOpenSSL-0.11.7.7 + DOCDIR=/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/doc/ghc-HsOpenSSL-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/HsOpenSSL-0.11.7.7/AUTHORS /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/HsOpenSSL-0.11.7.7/ChangeLog /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/HsOpenSSL-0.11.7.7/README.md /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/doc/ghc-HsOpenSSL-devel + cp -pr /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/HsOpenSSL-0.11.7.7/examples /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/doc/ghc-HsOpenSSL-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HsOpenSSL-devel = 0.11.7.7-1.fc41 ghc-HsOpenSSL-devel(riscv-64) = 0.11.7.7-1.fc41 ghc-HsOpenSSL-static = 0.11.7.7-1.fc41 ghc-HsOpenSSL-static(riscv-64) = 0.11.7.7-1.fc41 ghc-devel(HsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.18.2.1) ghc-devel(bytestring-0.11.5.3) ghc-devel(network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e) ghc-devel(time-1.12.2) Processing files: ghc-HsOpenSSL-doc-0.11.7.7-1.fc41.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WB84iM + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + cd HsOpenSSL-0.11.7.7 + LICENSEDIR=/builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/licenses/ghc-HsOpenSSL-doc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/licenses/ghc-HsOpenSSL-doc + cp -pr /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/HsOpenSSL-0.11.7.7/COPYING /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT/usr/share/licenses/ghc-HsOpenSSL-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HsOpenSSL-doc = 0.11.7.7-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-HsOpenSSL-prof-0.11.7.7-1.fc41.riscv64 Provides: ghc-HsOpenSSL-prof = 0.11.7.7-1.fc41 ghc-HsOpenSSL-prof(riscv-64) = 0.11.7.7-1.fc41 ghc-prof(HsOpenSSL-0.11.7.7-5lZTd9Zg9r5GzG9Yu4yqCZ) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.18.2.1) ghc-prof(bytestring-0.11.5.3) ghc-prof(network-3.1.4.0-I6jFfdQwj0Q5FZzAobit5e) ghc-prof(time-1.12.2) Supplements: (ghc-HsOpenSSL-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build/BUILDROOT Wrote: /builddir/build/RPMS/ghc-HsOpenSSL-0.11.7.7-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-HsOpenSSL-doc-0.11.7.7-1.fc41.noarch.rpm Wrote: /builddir/build/RPMS/ghc-HsOpenSSL-devel-0.11.7.7-1.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-HsOpenSSL-prof-0.11.7.7-1.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.IFDjuR + umask 022 + cd /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + test -d /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + rm -rf /builddir/build/BUILD/ghc-HsOpenSSL-0.11.7.7-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0