Ticket #66639: outside_macports.log

File outside_macports.log, 162.2 KB (added by erikbs, 16 months ago)

Log from build outside Macports

Line 
1        BASERUBY = echo executable host ruby is required.  use --with-baseruby option.; false
2        CC = clang
3        LD = clang
4        LDSHARED = clang -dynamiclib
5        CFLAGS = -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -std=gnu99  -fno-common -pipe
6        XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -I. -I.ext/include/x86_64-darwin13 -I./include -I. -I./enc/unicode/13.0.0
7        CPPFLAGS = -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   
8        DLDFLAGS = -L/opt/local/lib -Wl,-multiply_defined,suppress -Wl,-undefined,dynamic_lookup -install_name /usr/local/lib/libruby.3.1.dylib -compatibility_version 3.1 -current_version 3.1.3  -fstack-protector-strong -framework Security -framework CoreFoundation  -fstack-protector-strong -framework Security -framework CoreFoundation 
9        SOLIBS = -lpthread -ldl -lobjc
10        LANG =
11        LC_ALL = no_NO.UTF-8
12        LC_CTYPE = UTF-8
13        MFLAGS = - --jobserver-fds=4,5 -j
14clang version 15.0.6
15Target: x86_64-apple-darwin13.4.0
16Thread model: posix
17InstalledDir: /opt/local/libexec/llvm-15/bin
18compiling ./main.c
19compiling dmydln.c
20compiling miniinit.c
21compiling dmyext.c
22translating probes probes.d
23compiling ast.c
24compiling bignum.c
25compiling class.c
26compiling compar.c
27. ./vm_opts.h
28compiling compile.c
29compiling complex.c
30compiling cont.c
31compiling debug.c
32compiling debug_counter.c
33compiling dir.c
34compiling dln_find.c
35compiling encoding.c
36compiling enum.c
37compiling enumerator.c
38compiling error.c
39compiling eval.c
40compiling file.c
41compiling gc.c
42compiling hash.c
43compiling inits.c
44error.c:2347:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
45    char *strerror();
46          ^
47compiling io.c
48compiling io_buffer.c
49compiling iseq.c
50compiling load.c
51compiling marshal.c
52compiling math.c
53compiling memory_view.c
54making mjit_config.h
55compiling mjit_compile.c
561 warning generated.
57compiling node.c
58compiling numeric.c
59compiling object.c
60compiling pack.c
61compiling parse.c
62compiling proc.c
63compiling process.c
64compiling ractor.c
65compiling random.c
66parse.c:6859:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable]
67    int yynerrs = 0;
68        ^
69compiling range.c
70In file included from parse.y:8019:
71defs/keywords:5:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
72static const struct kwtable *reserved_word(/*const char *, unsigned int*/);
73                             ^
74defs/keywords:162:1: note: conflicting prototype is here
75rb_reserved_word (register const char *str, register size_t len)
76^
77defs/keywords:6:36: note: expanded from macro 'rb_reserved_word'
78#define rb_reserved_word(str, len) reserved_word(str, len)
79                                   ^
80compiling rational.c
81ractor.c:2671:10: warning: variable 'pcnt' set but not used [-Wunused-but-set-variable]
82    int *pcnt = (int *)ptr;
83         ^
84compiling re.c
85compiling regcomp.c
86compiling regenc.c
87compiling regerror.c
88compiling regexec.c
89compiling regparse.c
90compiling regsyntax.c
911 warning generated.
92compiling ruby.c
93compiling scheduler.c
94compiling signal.c
95compiling sprintf.c
96compiling st.c
97compiling strftime.c
98compiling string.c
99compiling struct.c
100compiling symbol.c
101compiling thread.c
102compiling time.c
103compiling transcode.c
104compiling transient_heap.c
105compiling util.c
106compiling variable.c
107compiling vm.c
108compiling vm_backtrace.c
109compiling vm_dump.c
110compiling vm_sync.c
111compiling vm_trace.c
112compiling yjit.c
113compiling ./missing/explicit_bzero.c
114compiling ./missing/setproctitle.c
115In file included from vm.c:376:
116./vm_insnhelper.c:2700:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
117    return (*func)(recv, rb_ary_new4(argc, argv));
118                  ^
119./vm_insnhelper.c:2707:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
120    return (*func)(argc, argv, recv);
121                  ^
122./vm_insnhelper.c:2841:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
123    return (*func)(recv, rb_ary_new4(argc, argv));
124                  ^
125./vm_insnhelper.c:2847:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
126    return (*func)(argc, argv, recv);
127                  ^
128compiling addr2line.c
129compiling dmyenc.c
130compiling dln.c
131compiling localeinit.c
132dln.c:74:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
133char *getenv();
134      ^
135/usr/include/stdlib.h:144:7: note: conflicting prototype is here
136char    *getenv(const char *);
137         ^
1381 warning generated.
139compiling array.c
140compiling mjit.c
141./revision.h unchanged
142assembling coroutine/amd64/Context.S
143compiling enc/ascii.c
144compiling enc/us_ascii.c
145compiling enc/unicode.c
146compiling enc/utf_8.c
147compiling enc/trans/newline.c
148compiling version.c
149In file included from enc/unicode.c:177:
150./enc/unicode/13.0.0/name2ctype.h:39180:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
151static const struct uniname2ctype_struct *uniname2ctype_p(
152                                          ^
153./enc/unicode/13.0.0/name2ctype.h:41088:1: note: conflicting prototype is here
154uniname2ctype_p (register const char *str, register size_t len)
155^
1561 warning generated.
1572 warnings generated.
1584 warnings generated.
159linking miniruby
160Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-119/source/DWARFdSYM.cpp, line 1707.
161/bin/sh: line 1: 96494 Abort trap: 6           dsymutil miniruby
162builtin_binary.inc updated
163compiling builtin.c
164/bin/sh ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
165rbconfig.rb updated
166generating encdb.h
167generating enc.mk
168creating verconf.h
169building rb_mjit_header.h
170verconf.h updated
171compiling loadpath.c
172encdb.h updated
173linking static-library libruby.3.1-static.a
174rb_mjit_header.h updated
175building .ext/include/x86_64-darwin13/rb_mjit_min_header-3.1.3.h
176making srcs under enc
177make[1]: Nothing to be done for `srcs'.
178generating transdb.h
179linking shared-library libruby.3.1.dylib
180transdb.h updated
181Assertion failed: (!"Unknown operand"), function LinkLocation, file /SourceCache/dwarf_utilities/dwarf_utilities-119/source/DWARFdSYM.cpp, line 1707.
182/bin/sh: line 1: 96587 Abort trap: 6           dsymutil libruby.3.1.dylib
183generating makefiles ext/configure-ext.mk
184building spec/ruby/optional/capi/ext/array_spec.bundle
185building spec/ruby/optional/capi/ext/basic_object_spec.bundle
186building spec/ruby/optional/capi/ext/bignum_spec.bundle
187building spec/ruby/optional/capi/ext/binding_spec.bundle
188building spec/ruby/optional/capi/ext/boolean_spec.bundle
189building spec/ruby/optional/capi/ext/class_id_under_autoload_spec.bundle
190building spec/ruby/optional/capi/ext/class_spec.bundle
191building spec/ruby/optional/capi/ext/class_under_autoload_spec.bundle
192building spec/ruby/optional/capi/ext/complex_spec.bundle
193building spec/ruby/optional/capi/ext/constants_spec.bundle
194building spec/ruby/optional/capi/ext/data_spec.bundle
195building spec/ruby/optional/capi/ext/debug_spec.bundle
196building spec/ruby/optional/capi/ext/encoding_spec.bundle
197building spec/ruby/optional/capi/ext/enumerator_spec.bundle
198ext/configure-ext.mk updated
199building spec/ruby/optional/capi/ext/exception_spec.bundle
200building spec/ruby/optional/capi/ext/fiber_spec.bundle
201building spec/ruby/optional/capi/ext/file_spec.bundle
202building spec/ruby/optional/capi/ext/fixnum_spec.bundle
203building spec/ruby/optional/capi/ext/float_spec.bundle
204building spec/ruby/optional/capi/ext/gc_spec.bundle
205building spec/ruby/optional/capi/ext/globals_spec.bundle
206building spec/ruby/optional/capi/ext/hash_spec.bundle
207building spec/ruby/optional/capi/ext/integer_spec.bundle
208building spec/ruby/optional/capi/ext/io_spec.bundle
209building spec/ruby/optional/capi/ext/kernel_spec.bundle
210building spec/ruby/optional/capi/ext/language_spec.bundle
211building spec/ruby/optional/capi/ext/marshal_spec.bundle
212building spec/ruby/optional/capi/ext/module_spec.bundle
213building spec/ruby/optional/capi/ext/module_under_autoload_spec.bundle
214building spec/ruby/optional/capi/ext/mutex_spec.bundle
215building spec/ruby/optional/capi/ext/numeric_spec.bundle
216building spec/ruby/optional/capi/ext/object_spec.bundle
217building spec/ruby/optional/capi/ext/proc_spec.bundle
218building spec/ruby/optional/capi/ext/range_spec.bundle
219building spec/ruby/optional/capi/ext/rational_spec.bundle
220building spec/ruby/optional/capi/ext/rbasic_spec.bundle
221building spec/ruby/optional/capi/ext/regexp_spec.bundle
222building spec/ruby/optional/capi/ext/st_spec.bundle
223building spec/ruby/optional/capi/ext/string_spec.bundle
224building spec/ruby/optional/capi/ext/struct_spec.bundle
225building spec/ruby/optional/capi/ext/symbol_spec.bundle
226building spec/ruby/optional/capi/ext/thread_spec.bundle
227building spec/ruby/optional/capi/ext/time_spec.bundle
228building spec/ruby/optional/capi/ext/tracepoint_spec.bundle
229building spec/ruby/optional/capi/ext/typed_data_spec.bundle
230building spec/ruby/optional/capi/ext/util_spec.bundle
231making enc
232making trans
233compiling ./enc/encdb.c
234compiling ./enc/trans/transdb.c
235configuring -test-/RUBY_ALIGNOF
236configuring bigdecimal
237compiling ./enc/trans/big5.c
238configuring cgi/escape
239compiling ./enc/trans/cesu_8.c
240configuring continuation
241configuring coverage
242configuring date
243configuring digest
244configuring etc
245configuring digest/bubblebabble
246configuring digest/md5
247configuring fcntl
248configuring fiddle
249compiling ./enc/big5.c
250configuring io/console
251configuring json
252configuring json/generator
253configuring json/parser
254compiling ./enc/cesu_8.c
255compiling ./enc/trans/chinese.c
256configuring monitor
257compiling ./enc/cp949.c
258configuring nkf
259compiling ./enc/trans/ebcdic.c
260compiling ./enc/trans/emoji.c
261configuring objspace
262configuring -test-/arith_seq/extract
263configuring -test-/array/concat
264compiling ./enc/emacs_mule.c
265configuring -test-/array/resize
266configuring -test-/bignum
267configuring -test-/bug-14834
268configuring -test-/bug-3571
269configuring -test-/bug-5832
270configuring -test-/bug_reporter
271configuring -test-/class
272configuring -test-/cxxanyargs
273compiling ./enc/trans/emoji_iso2022_kddi.c
274configuring -test-/debug
275configuring digest/rmd160
276configuring -test-/dln/empty
277configuring -test-/econv
278configuring -test-/enumerator_kw
279configuring -test-/exception
280configuring -test-/fatal
281configuring -test-/file
282compiling ./enc/euc_jp.c
283In file included from ./enc/euc_jp.c:503:
284enc/jis/props.kwd:40:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
285static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/);
286                                  ^
287enc/jis/props.kwd:146:1: note: conflicting prototype is here
288onig_jis_property (register const char *str, register size_t len)
289^
290compiling ./enc/euc_kr.c
291compiling ./enc/trans/emoji_sjis_docomo.c
292compiling ./enc/euc_tw.c
2931 warning generated.
294configuring openssl
295compiling ./enc/gb2312.c
296compiling ./enc/gb18030.c
297configuring digest/sha1
298compiling ./enc/gbk.c
299transform_mjit_header: making external definition static inline: rb_vm_lvar_exposed, Init_vm_stack_canary, rb_vm_opt_cfunc_p, rb_vm_opt_mod, rb_vm_ic_hit_p, rb_vm_splat_array, rb_vm_defined, rb_vm_cc_general, rb_aliased_callable_method_entry, rb_find_defined_class_by_owner, rb_vm_call_ivar_attrset_p, rb_iseq_only_kwparam_p, rb_iseq_only_optparam_p, rb_vm_set_ivar_idx, rb_vm_setinstancevariable, rb_vm_setclassvariable, rb_vm_getclassvariable, rb_vm_rewrite_cref, rb_vm_get_cref, rb_vm_block_ep_update, rb_vm_cref_new_toplevel, rb_vm_cref_dup_without_refinements, rb_vm_frame_block_handler, rb_vm_cframe_keyword_p, rb_vm_ep_local_ep
300transform_mjit_header: making declaration static inline: rb_vm_lvar_exposed, rb_vm_lvar_exposed, Init_vm_stack_canary, rb_vm_rewrite_cref, rb_vm_frame_block_handler, rb_vm_block_ep_update, rb_vm_ep_local_ep
301transform_mjit_header: SKIPPED to transform: __sigbits, isspecial, isrune, isphonogram, isnumber, isideogram, ishexnumber, digittoint, toupper, tolower, toascii, isxdigit, isupper, isspace, ispunct, isprint, islower, isgraph, isdigit, iscntrl, isblank, isalpha, isalnum, __wcwidth, __isctype, __istype, isascii, __sincospi, __sincospif, __sincos, __sincosf, __inline_isnormall, __inline_isnormald, __inline_isnormalf, __inline_signbitl, __inline_signbitd, __inline_signbitf, __inline_isnanl, __inline_isnand, __inline_isnanf, __inline_isinfl, __inline_isinfd, __inline_isinff, __inline_isfinitel, __inline_isfinited, __inline_isfinitef, __sputc
302ln -sf ../../../.ext/include/x86_64-darwin13/rb_mjit_min_header-3.1.3.h include/ruby-3.1.0/x86_64-darwin13/rb_mjit_min_header-3.1.3.h
303compiling ./enc/trans/emoji_sjis_kddi.c
304compiling ./enc/iso_8859_1.c
305configuring digest/sha2
306configuring pathname
307libffi_version: 3.4.4
308compiling ./enc/iso_8859_2.c
309configuring psych
310compiling ./enc/iso_8859_3.c
311configuring io/nonblock
312compiling ./enc/iso_8859_4.c
313configuring pty
314configuring racc/cparse
315compiling ./enc/iso_8859_5.c
316compiling ./enc/iso_8859_6.c
317configuring io/wait
318compiling ./enc/iso_8859_7.c
319compiling ./enc/trans/emoji_sjis_softbank.c
320compiling ./enc/iso_8859_8.c
321compiling ./enc/iso_8859_9.c
322compiling ./enc/iso_8859_10.c
323configuring rbconfig/sizeof
324compiling ./enc/iso_8859_11.c
325compiling ./enc/iso_8859_13.c
326compiling ./enc/iso_8859_14.c
327compiling ./enc/iso_8859_15.c
328compiling ./enc/iso_8859_16.c
329compiling ./enc/trans/escape.c
330compiling ./enc/trans/gb18030.c
331compiling ./enc/koi8_r.c
332configuring readline
333compiling ./enc/trans/gbk.c
334compiling ./enc/koi8_u.c
335compiling ./enc/shift_jis.c
336configuring -test-/float
337configuring -test-/funcall
338configuring -test-/gvl/call_without_gvl
339configuring -test-/hash
340configuring -test-/integer
341configuring -test-/iseq_load
342configuring ripper
343configuring -test-/iter
344configuring -test-/load/dot.dot
345In file included from ./enc/shift_jis.c:31:
346In file included from ./enc/shift_jis.h:490:
347enc/jis/props.kwd:40:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
348static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/);
349                                  ^
350enc/jis/props.kwd:146:1: note: conflicting prototype is here
351onig_jis_property (register const char *str, register size_t len)
352^
353configuring -test-/load/protect
354configuring -test-/marshal/compat
355configuring -test-/marshal/internal_ivar
356configuring -test-/marshal/usr
357configuring -test-/memory_status
358configuring -test-/memory_view
359configuring rubyvm
360configuring -test-/method
361configuring -test-/notimplement
362configuring -test-/num2int
363configuring -test-/path_to_class
364configuring -test-/popen_deadlock
365configuring -test-/postponed_job
366configuring -test-/printf
367compiling ./enc/utf_16be.c
368configuring socket
369configuring -test-/proc
370configuring -test-/random
371configuring -test-/rational
372configuring -test-/rb_call_super_kw
373configuring -test-/recursion
374configuring -test-/regexp
3751 warning generated.
376compiling ./enc/utf_16le.c
377configuring -test-/scan_args
378configuring -test-/st/foreach
379configuring -test-/st/numhash
380configuring -test-/st/update
381configuring -test-/string
382compiling ./enc/trans/iso2022.c
383configuring stringio
384configuring -test-/struct
385compiling ./enc/utf_32be.c
386configuring -test-/symbol
387compiling ./enc/utf_32le.c
388compiling ./enc/windows_31j.c
389In file included from ./enc/windows_31j.c:32:
390In file included from ./enc/shift_jis.h:490:
391enc/jis/props.kwd:40:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
392static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/);
393                                  ^
394enc/jis/props.kwd:146:1: note: conflicting prototype is here
395onig_jis_property (register const char *str, register size_t len)
396^
397compiling ./enc/windows_1250.c
398configuring strscan
399compiling ./enc/windows_1251.c
400configuring -test-/thread_fd
401configuring -test-/time
402configuring -test-/tracepoint
403configuring -test-/typeddata
404configuring -test-/vm
405configuring -test-/wait
4061 warning generated.
407compiling ./enc/windows_1252.c
408configuring syslog
409compiling ./enc/windows_1253.c
410compiling ./enc/trans/japanese.c
411compiling ./enc/windows_1254.c
412compiling ./enc/windows_1257.c
413compiling ./enc/trans/japanese_euc.c
414compiling ./enc/trans/japanese_sjis.c
415configuring zlib
416linking encoding encdb.bundle
417linking encoding big5.bundle
418linking encoding cesu_8.bundle
419linking encoding cp949.bundle
420linking encoding emacs_mule.bundle
421linking encoding euc_jp.bundle
422linking encoding euc_kr.bundle
423configuring debug-1.6.3/ext/debug
424linking encoding euc_tw.bundle
425compiling ./enc/trans/korean.c
426linking encoding gb2312.bundle
427linking encoding gb18030.bundle
428linking encoding gbk.bundle
429linking encoding iso_8859_1.bundle
430linking encoding iso_8859_2.bundle
431linking encoding iso_8859_3.bundle
432linking encoding iso_8859_4.bundle
433configuring rbs-2.7.0/ext/rbs_extension
434linking encoding iso_8859_5.bundle
435linking encoding iso_8859_6.bundle
436linking encoding iso_8859_7.bundle
437linking encoding iso_8859_8.bundle
438linking encoding iso_8859_9.bundle
439linking encoding iso_8859_10.bundle
440compiling ./enc/trans/single_byte.c
441linking encoding iso_8859_11.bundle
442linking encoding iso_8859_13.bundle
443linking encoding iso_8859_14.bundle
444compiling ./enc/trans/utf8_mac.c
445linking encoding iso_8859_15.bundle
446linking encoding iso_8859_16.bundle
447linking encoding koi8_r.bundle
448linking encoding koi8_u.bundle
449linking encoding shift_jis.bundle
450compiling ./enc/trans/utf_16_32.c
451linking encoding utf_16be.bundle
452linking encoding utf_16le.bundle
453linking encoding utf_32be.bundle
454linking encoding utf_32le.bundle
455linking encoding windows_31j.bundle
456linking encoding windows_1250.bundle
457linking encoding windows_1251.bundle
458linking encoding windows_1252.bundle
459linking encoding windows_1253.bundle
460linking encoding windows_1254.bundle
461linking encoding windows_1257.bundle
462linking transcoder transdb.bundle
463linking transcoder cesu_8.bundle
464linking transcoder chinese.bundle
465linking transcoder ebcdic.bundle
466linking transcoder emoji.bundle
467linking transcoder emoji_iso2022_kddi.bundle
468linking transcoder emoji_sjis_docomo.bundle
469linking transcoder emoji_sjis_kddi.bundle
470linking transcoder emoji_sjis_softbank.bundle
471linking transcoder escape.bundle
472linking transcoder gb18030.bundle
473linking transcoder iso2022.bundle
474linking transcoder japanese.bundle
475linking transcoder utf_16_32.bundle
476linking transcoder single_byte.bundle
477linking transcoder japanese_sjis.bundle
478linking transcoder gbk.bundle
479linking transcoder utf8_mac.bundle
480linking transcoder korean.bundle
481linking transcoder big5.bundle
482linking transcoder japanese_euc.bundle
483making encs
484make[1]: Nothing to be done for `encs'.
485generating makefile exts.mk
486exts.mk updated
487compiling to_ary_concat.c
488compiling extract.c
489compiling c.c
490compiling resize.c
491compiling bug-14384.c
492compiling cxxanyargs.cpp
493compiling bug.c
494compiling big2str.c
495compiling bug_reporter.c
496compiling bug.c
497compiling empty.c
498compiling append.c
499compiling class2name.c
500compiling init.c
501compiling enumerator_kw.c
502compiling cpp.cpp
503linking shared-object -test-/dln/empty.bundle
504compiling bigzero.c
505linking shared-object -test-/array/resize.bundle
506linking shared-object -test-/array/to_ary_concat.bundle
507compiling dataerror.c
508linking shared-object -test-/bug_3571.bundle
509linking shared-object -test-/bug_reporter.bundle
510linking shared-object -test-/bug_14834.bundle
511linking shared-object -test-/bug_5832.bundle
512compiling rb_fatal.c
513linking shared-object -test-/arith_seq/extract.bundle
514compiling init.c
515compiling fs.c
516compiling init.c
517compiling init.c
518compiling funcall.c
519compiling inspector.c
520compiling div.c
521compiling call_without_gvl.c
522compiling init.c
523linking shared-object -test-/enumerator_kw.bundle
524compiling enc_raise.c
525compiling delete.c
526linking shared-object -test-/econv.bundle
527linking shared-object -test-/class.bundle
528compiling nextafter.c
529linking shared-object -test-/fatal/rb_fatal.bundle
530compiling init.c
531compiling profile_frames.c
532compiling stat.c
533compiling ensured.c
534compiling init.c
535compiling core_ext.c
536linking shared-object -test-/funcall.bundle
537compiling intpack.c
538linking shared-object -test-/gvl/call_without_gvl.bundle
539linking shared-object -test-/RUBY_ALIGNOF.bundle
540compiling iseq_load.c
541compiling break.c
542compiling dot.dot.c
543compiling init.c
544compiling mul.c
545linking shared-object -test-/load/dot.dot.bundle
546compiling protect.c
547compiling str2big.c
548compiling init.c
549linking shared-object -test-/float.bundle
550compiling usrcompat.c
551linking shared-object -test-/debug.bundle
552compiling my_integer.c
553linking shared-object -test-/exception.bundle
554compiling internal_ivar.c
555linking shared-object -test-/file.bundle
556compiling usrmarshal.c
557compiling init.c
558compiling memory_status.c
559compiling yield.c
560linking shared-object -test-/iseq_load.bundle
561linking shared-object -test-/hash.bundle
562compiling memory_view.c
563linking shared-object -test-/cxxanyargs.bundle
564compiling arity.c
565compiling bug.c
566compiling num2int.c
567compiling path_to_class.c
568linking shared-object -test-/load/protect.bundle
569compiling postponed_job.c
570compiling init.c
571linking shared-object -test-/bignum.bundle
572linking shared-object -test-/marshal/compat.bundle
573compiling printf.c
574linking shared-object -test-/marshal/internal_ivar.bundle
575compiling init.c
576compiling init.c
577compiling rat.c
578linking shared-object -test-/iter.bundle
579linking shared-object -test-/marshal/usr.bundle
580compiling rb_call_super_kw.c
581compiling recursion.c
582compiling init.c
583linking shared-object -test-/memory_status.bundle
584compiling scan_args.c
585linking shared-object -test-/notimplement.bundle
586linking shared-object -test-/path_to_class.bundle
587linking shared-object -test-/method.bundle
588compiling foreach.c
589compiling numhash.c
590compiling update.c
591compiling receiver.c
592compiling loop.c
593compiling capacity.c
594linking shared-object -test-/num2int.bundle
595linking shared-object -test-/postponed_job.bundle
596linking shared-object -test-/rb_call_super_kw.bundle
597linking shared-object -test-/recursion.bundle
598compiling super.c
599compiling parse_depth_limit.c
600compiling duplicate.c
601compiling init.c
602compiling type.c
603compiling thread_fd.c
604linking shared-object -test-/st/update.bundle
605linking shared-object -test-/printf.bundle
606linking shared-object -test-/st/foreach.bundle
607linking shared-object -test-/st/numhash.bundle
608compiling init.c
609compiling coderange.c
610linking shared-object -test-/random.bundle
611compiling gc_hook.c
612linking shared-object -test-/proc.bundle
613compiling typeddata.c
614compiling at_exit.c
615linking shared-object -test-/regexp.bundle
616compiling init.c
617compiling wait.c
618compiling len.c
619compiling cstr.c
620compiling bigdecimal.c
621linking shared-object -test-/memory_view.bundle
622linking shared-object -test-/thread_fd.bundle
623linking shared-object -test-/symbol.bundle
624compiling escape.c
625compiling leap_second.c
626linking shared-object -test-/integer.bundle
627compiling member.c
628compiling continuation.c
629compiling ellipsize.c
630linking shared-object -test-/vm/at_exit.bundle
631In file included from bigdecimal.c:13:
632In file included from ./bigdecimal.h:14:
633./missing.h:127:1: error: static declaration of 'rb_rational_num' follows non-static declaration
634rb_rational_num(VALUE rat)
635^
636../.././include/ruby/internal/intern/rational.h:128:7: note: previous declaration is here
637VALUE rb_rational_num(VALUE rat);
638      ^
639In file included from bigdecimal.c:13:
640In file included from ./bigdecimal.h:14:
641./missing.h:139:1: error: static declaration of 'rb_rational_den' follows non-static declaration
642rb_rational_den(VALUE rat)
643^
644../.././include/ruby/internal/intern/rational.h:138:7: note: previous declaration is here
645VALUE rb_rational_den(VALUE rat);
646      ^
647In file included from bigdecimal.c:13:
648In file included from ./bigdecimal.h:14:
649./missing.h:153:1: error: static declaration of 'rb_complex_real' follows non-static declaration
650rb_complex_real(VALUE cmp)
651^
652../.././include/ruby/internal/intern/complex.h:101:7: note: previous declaration is here
653VALUE rb_complex_real(VALUE z);
654      ^
655In file included from bigdecimal.c:13:
656In file included from ./bigdecimal.h:14:
657./missing.h:165:1: error: static declaration of 'rb_complex_imag' follows non-static declaration
658rb_complex_imag(VALUE cmp)
659^
660../.././include/ruby/internal/intern/complex.h:110:7: note: previous declaration is here
661VALUE rb_complex_imag(VALUE z);
662      ^
663In file included from bigdecimal.c:13:
664In file included from ./bigdecimal.h:14:
665./missing.h:189:1: error: redefinition of 'rb_array_const_ptr'
666rb_array_const_ptr(VALUE a)
667^
668../.././include/ruby/internal/core/rarray.h:393:1: note: previous definition is here
669rb_array_const_ptr(VALUE a)
670^
671In file included from bigdecimal.c:13:
672In file included from ./bigdecimal.h:14:
673./missing.h:208:1: error: static declaration of 'rb_sym2str' follows non-static declaration
674rb_sym2str(VALUE sym)
675^
676../.././include/ruby/internal/symbol.h:211:7: note: previous declaration is here
677VALUE rb_sym2str(VALUE id);
678      ^
679compiling coverage.c
680compiling tracepoint.c
681linking shared-object -test-/typeddata.bundle
682installing default coverage libraries
683compiling new.c
684compiling enc_associate.c
685compiling date_core.c
686compiling missing.c
687linking shared-object -test-/wait.bundle
688linking shared-object -test-/struct.bundle
689linking shared-object continuation.bundle
690compiling enc_str_buf_cat.c
691compiling fstring.c
692compiling digest.c
693installing default bigdecimal libraries
694compiling init.c
695linking shared-object -test-/tracepoint.bundle
696compiling modify.c
697compiling etc.c
698compiling new.c
699compiling fcntl.c
700linking shared-object -test-/scan_args.bundle
701linking shared-object -test-/rational.bundle
702compiling nofree.c
703compiling date_parse.c
704compiling normalize.c
705compiling closure.c
706compiling qsort.c
707installing digest libraries
708etc.c:51:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
709char *getenv();
710      ^
711/usr/include/stdlib.h:144:7: note: conflicting prototype is here
712char    *getenv(const char *);
713         ^
714compiling console.c
715linking shared-object fcntl.bundle
716compiling date_strftime.c
717linking shared-object cgi/escape.bundle
718compiling rb_interned_str.c
719linking shared-object coverage.bundle
720compiling rb_str_dup.c
721compiling date_strptime.c
722In file included from date_parse.c:362:
723zonetab.list:6:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
724static const struct zone *zonetab();
725                          ^
726zonetab.list:774:1: note: conflicting prototype is here
727zonetab (register const char *str, register size_t len)
728^
729installing default digest libraries
730compiling set_len.c
731compiling nonblock.c
732installing default date_core libraries
733compiling wait.c
734compiling conversions.c
735installing default console libraries
736linking shared-object -test-/string.bundle
737linking shared-object digest.bundle
738compiling fiddle.c
739compiling monitor.c
740compiling function.c
741compiling handle.c
742linking shared-object io/nonblock.bundle
743linking shared-object -test-/time.bundle
7441 warning generated.
745linking shared-object etc.bundle
746compiling memory_view.c
747compiling nkf.c
748compiling object_tracing.c
749bigdecimal.c:6943:18: warning: variable 'prec' set but not used [-Wunused-but-set-variable]
750    SIGNED_VALUE prec;
751                 ^
7521 warning and 6 errors generated.
753make[2]: *** [bigdecimal.o] Error 1
754make[2]: *** Waiting for unfinished jobs....
755compiling pinned.c
756linking shared-object io/wait.bundle
757compiling pointer.c
758installing default monitor libraries
759compiling pathname.c
760compiling openssl_missing.c
761linking shared-object monitor.bundle
762installing default nkf libraries
763compiling objspace.c
764compiling psych.c
765compiling pty.c
766linking shared-object io/console.bundle
767compiling ossl.c
768installing default fiddle libraries
769installing default pathname libraries
770compiling cparse.c
771compiling objspace_dump.c
772compiling sizes.c
773compiling readline.c
774pty.c:173:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
775    char                *p, *getenv();
776                             ^
777/usr/include/stdlib.h:144:7: note: conflicting prototype is here
778char    *getenv(const char *);
779         ^
780compiling psych_emitter.c
781cparse.c:302:5: warning: 'rb_iterate' is deprecated: by: rb_block_call since 1.9 [-Wdeprecated-declarations]
782    rb_iterate(lexer_iter, v->value_v, lexer_i, v->value_v);
783    ^
784../../.././include/ruby/internal/iterator.h:269:1: note: 'rb_iterate' has been explicitly marked deprecated here
785RBIMPL_ATTR_DEPRECATED(("by: rb_block_call since 1.9"))
786^
787../../.././include/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED'
788# define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
789                                                    ^
790compiling ossl_asn1.c
791compiling limits.c
7921 warning generated.
793installing default pty libraries
794linking shared-object pty.bundle
795compiling ossl_bio.c
796make[1]: *** [ext/bigdecimal/all] Error 2
797make[1]: *** Waiting for unfinished jobs....
798compiling psych_parser.c
799linking shared-object fiddle.bundle
800installing default objspace libraries
801compiling ossl_bn.c
802linking shared-object rbconfig/sizeof.bundle
803compiling ossl_cipher.c
804compiling psych_to_ruby.c
8051 warning generated.
806linking shared-object racc/cparse.bundle
807compiling ossl_config.c
808ossl_asn1.c:572:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
809        if(free_func) free_func(ptr);
810                               ^
811compiling psych_yaml_tree.c
812compiling ossl_digest.c
813compiling ossl_engine.c
814compiling ossl_hmac.c
815compiling ossl_kdf.c
816compiling ossl_ns_spki.c
817linking shared-object objspace.bundle
818compiling ossl_ocsp.c
819linking shared-object readline.bundle
820linking shared-object psych.bundle
821linking shared-object pathname.bundle
822compiling ossl_pkcs12.c
823compiling ossl_pkcs7.c
824compiling ossl_pkey.c
825compiling ossl_pkey_dh.c
826compiling ossl_pkey_dsa.c
827compiling ossl_pkey_ec.c
828compiling ossl_pkey_rsa.c
829compiling ossl_rand.c
830compiling ossl_ssl.c
831compiling ossl_ssl_session.c
8321 warning generated.
833compiling ossl_ts.c
834ossl_pkey_dh.c:87:14: warning: 'DH_new' is deprecated [-Wdeprecated-declarations]
835        dh = DH_new();
836             ^
837/opt/local/include/openssl/dh.h:199:1: note: 'DH_new' has been explicitly marked deprecated here
838OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
839^
840/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
841#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
842                                                ^
843/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
844#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
845                                                   ^
846ossl_pkey_dh.c:100:10: warning: 'DH_new' is deprecated [-Wdeprecated-declarations]
847    dh = d2i_DHparams_bio(in, NULL);
848         ^
849/opt/local/include/openssl/dh.h:174:29: note: expanded from macro 'd2i_DHparams_bio'
850        ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x)
851                            ^
852/opt/local/include/openssl/dh.h:199:1: note: 'DH_new' has been explicitly marked deprecated here
853OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
854^
855/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
856#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
857                                                ^
858/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
859#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
860                                                   ^
861ossl_pkey_dh.c:100:10: warning: 'd2i_DHparams' is deprecated [-Wdeprecated-declarations]
862    dh = d2i_DHparams_bio(in, NULL);
863         ^
864/opt/local/include/openssl/dh.h:174:37: note: expanded from macro 'd2i_DHparams_bio'
865        ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x)
866                                    ^
867/opt/local/include/openssl/dh.h:229:41: note: 'd2i_DHparams' has been explicitly marked deprecated here
868DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
869                                        ^
870/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
871#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
872                                                ^
873/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
874#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
875                                                   ^
876ossl_pkey_dh.c:121:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
877    if (!pkey || EVP_PKEY_assign_DH(pkey, dh) != 1) {
878                 ^
879/opt/local/include/openssl/evp.h:506:39: note: expanded from macro 'EVP_PKEY_assign_DH'
880#  define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
881                                      ^
882/opt/local/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
883OSSL_DEPRECATEDIN_3_0
884^
885/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
886#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
887                                                ^
888/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
889#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
890                                                   ^
891ossl_pkey_dh.c:123:9: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
892        DH_free(dh);
893        ^
894/opt/local/include/openssl/dh.h:200:1: note: 'DH_free' has been explicitly marked deprecated here
895OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
896^
897/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
898#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
899                                                ^
900/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
901#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
902                                                   ^
903ossl_pkey_dh.c:184:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
904    GetDH(self, dh);
905    ^
906ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
907    (dh) = EVP_PKEY_get0_DH(_pkey); \
908           ^
909/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
910OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
911^
912/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
913#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
914                                                ^
915/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
916#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
917                                                   ^
918ossl_pkey_dh.c:184:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
919    GetDH(self, dh);
920    ^~~~~~~~~~~~~~~
921ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
922    (dh) = EVP_PKEY_get0_DH(_pkey); \
923         ^ ~~~~~~~~~~~~~~~~~~~~~~~
924ossl_pkey_dh.c:185:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
925    DH_get0_key(dh, &bn, NULL);
926    ^
927/opt/local/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here
928OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
929^
930/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
931#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
932                                                ^
933/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
934#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
935                                                   ^
936ossl_pkey_dh.c:203:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
937    GetDH(self, dh);
938    ^
939ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
940    (dh) = EVP_PKEY_get0_DH(_pkey); \
941           ^
942/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
943OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
944^
945/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
946#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
947                                                ^
948/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
949#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
950                                                   ^
951ossl_pkey_dh.c:203:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
952    GetDH(self, dh);
953    ^~~~~~~~~~~~~~~
954ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
955    (dh) = EVP_PKEY_get0_DH(_pkey); \
956         ^ ~~~~~~~~~~~~~~~~~~~~~~~
957ossl_pkey_dh.c:204:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
958    DH_get0_key(dh, NULL, &bn);
959    ^
960/opt/local/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here
961OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
962^
963/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
964#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
965                                                ^
966/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
967#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
968                                                   ^
969ossl_pkey_dh.c:207:19: warning: 'DH_get0_engine' is deprecated [-Wdeprecated-declarations]
970    return (bn || DH_get0_engine(dh)) ? Qtrue : Qfalse;
971                  ^
972/opt/local/include/openssl/dh.h:267:1: note: 'DH_get0_engine' has been explicitly marked deprecated here
973OSSL_DEPRECATEDIN_3_0 ENGINE *DH_get0_engine(DH *d);
974^
975/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
976#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
977                                                ^
978/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
979#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
980                                                   ^
981ossl_pkey_dh.c:230:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
982    GetDH(self, dh);
983    ^
984ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
985    (dh) = EVP_PKEY_get0_DH(_pkey); \
986           ^
987/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
988OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
989^
990/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
991#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
992                                                ^
993/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
994#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
995                                                   ^
996ossl_pkey_dh.c:230:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
997    GetDH(self, dh);
998    ^~~~~~~~~~~~~~~
999ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1000    (dh) = EVP_PKEY_get0_DH(_pkey); \
1001         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1002ossl_pkey_dh.c:234:10: warning: 'PEM_write_bio_DHparams' is deprecated [-Wdeprecated-declarations]
1003    if (!PEM_write_bio_DHparams(out, dh)) {
1004         ^
1005/opt/local/include/openssl/pem.h:469:21: note: 'PEM_write_bio_DHparams' has been explicitly marked deprecated here
1006DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
1007                    ^
1008/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1009#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1010                                                ^
1011/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1012#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1013                                                   ^
1014ossl_pkey_dh.c:260:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
1015    GetDH(self, dh);
1016    ^
1017ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
1018    (dh) = EVP_PKEY_get0_DH(_pkey); \
1019           ^
1020/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
1021OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
1022^
1023/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1024#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1025                                                ^
1026/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1027#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1028                                                   ^
1029ossl_pkey_dh.c:260:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1030    GetDH(self, dh);
1031    ^~~~~~~~~~~~~~~
1032ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1033    (dh) = EVP_PKEY_get0_DH(_pkey); \
1034         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1035ossl_pkey_dh.c:261:15: warning: 'i2d_DHparams' is deprecated [-Wdeprecated-declarations]
1036    if((len = i2d_DHparams(dh, NULL)) <= 0)
1037              ^
1038/opt/local/include/openssl/dh.h:229:41: note: 'i2d_DHparams' has been explicitly marked deprecated here
1039DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
1040                                        ^
1041/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1042#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1043                                                ^
1044/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1045#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1046                                                   ^
1047ossl_pkey_dh.c:265:8: warning: 'i2d_DHparams' is deprecated [-Wdeprecated-declarations]
1048    if(i2d_DHparams(dh, &p) < 0)
1049       ^
1050/opt/local/include/openssl/dh.h:229:41: note: 'i2d_DHparams' has been explicitly marked deprecated here
1051DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
1052                                        ^
1053/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1054#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1055                                                ^
1056/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1057#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1058                                                   ^
1059ossl_pkey_dh.c:287:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
1060    GetDH(self, dh);
1061    ^
1062ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
1063    (dh) = EVP_PKEY_get0_DH(_pkey); \
1064           ^
1065/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
1066OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
1067^
1068/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1069#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1070                                                ^
1071/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1072#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1073                                                   ^
1074ossl_pkey_dh.c:287:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1075    GetDH(self, dh);
1076    ^~~~~~~~~~~~~~~
1077ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1078    (dh) = EVP_PKEY_get0_DH(_pkey); \
1079         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1080ossl_pkey_dh.c:288:5: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
1081    DH_get0_pqg(dh, &p, &q, &g);
1082    ^
1083/opt/local/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
1084OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
1085^
1086/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1087#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1088                                                ^
1089/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1090#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1091                                                   ^
1092ossl_pkey_dh.c:289:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
1093    DH_get0_key(dh, &pub_key, &priv_key);
1094    ^
1095/opt/local/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here
1096OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
1097^
1098/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1099#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1100                                                ^
1101/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1102#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1103                                                   ^
1104ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
1105OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
1106^
1107./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1108        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1109        ^
1110./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1111        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1112        ^
1113./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1114        Get##_type(self, obj);                                          \
1115        ^
1116<scratch space>:45:1: note: expanded from here
1117GetDH
1118^
1119ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
1120    (dh) = EVP_PKEY_get0_DH(_pkey); \
1121           ^
1122/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
1123OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
1124^
1125/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1126#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1127                                                ^
1128/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1129#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1130                                                   ^
1131ossl_pkey_dh.c:349:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1132OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
1133^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1134./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1135        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1136        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1137./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1138        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1139        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1140./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1141        Get##_type(self, obj);                                          \
1142        ^~~~~~~~~~~~~~~~~~~~~
1143<scratch space>:45:1: note: expanded from here
1144GetDH
1145^
1146ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1147    (dh) = EVP_PKEY_get0_DH(_pkey); \
1148         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1149ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
1150./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1151        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1152        ^
1153./ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1154                _type##_get0_##_group(obj, &bn, NULL, NULL))            \
1155                ^
1156<scratch space>:41:1: note: expanded from here
1157DH_get0_pqg
1158^
1159/opt/local/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
1160OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
1161^
1162/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1163#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1164                                                ^
1165/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1166#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1167                                                   ^
1168ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
1169OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
1170^
1171./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1172        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1173        ^
1174./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1175        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1176        ^
1177./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1178        Get##_type(self, obj);                                          \
1179        ^
1180<scratch space>:51:1: note: expanded from here
1181GetDH
1182^
1183ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
1184    (dh) = EVP_PKEY_get0_DH(_pkey); \
1185           ^
1186/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
1187OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
1188^
1189/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1190#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1191                                                ^
1192/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1193#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1194                                                   ^
1195ossl_pkey_dh.c:349:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1196OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
1197^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1198./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1199        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1200        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1201./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1202        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1203        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1204./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1205        Get##_type(self, obj);                                          \
1206        ^~~~~~~~~~~~~~~~~~~~~
1207<scratch space>:51:1: note: expanded from here
1208GetDH
1209^
1210ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1211    (dh) = EVP_PKEY_get0_DH(_pkey); \
1212         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1213ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
1214./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1215        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1216        ^
1217./ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1218                _type##_get0_##_group(obj, NULL, &bn, NULL))            \
1219                ^
1220<scratch space>:47:1: note: expanded from here
1221DH_get0_pqg
1222^
1223/opt/local/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
1224OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
1225^
1226/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1227#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1228                                                ^
1229/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1230#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1231                                                   ^
1232ossl_pkey_dh.c:349:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
1233OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
1234^
1235./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1236        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1237        ^
1238./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1239        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
1240        ^
1241./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1242        Get##_type(self, obj);                                          \
1243        ^
1244<scratch space>:57:1: note: expanded from here
1245GetDH
1246^
1247ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
1248    (dh) = EVP_PKEY_get0_DH(_pkey); \
1249           ^
1250/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
1251OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
1252^
1253/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1254#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1255                                                ^
1256/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1257#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1258                                                   ^
1259ossl_pkey_dh.c:349:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1260OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
1261^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1262./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1263        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1264        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1265./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1266        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
1267        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1268./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1269        Get##_type(self, obj);                                          \
1270        ^~~~~~~~~~~~~~~~~~~~~
1271<scratch space>:57:1: note: expanded from here
1272GetDH
1273^
1274ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1275    (dh) = EVP_PKEY_get0_DH(_pkey); \
1276         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1277ossl_pkey_dh.c:349:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
1278./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1279        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1280        ^
1281./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1282                _type##_get0_##_group(obj, NULL, NULL, &bn))
1283                ^
1284<scratch space>:53:1: note: expanded from here
1285DH_get0_pqg
1286^
1287/opt/local/include/openssl/dh.h:253:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
1288OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
1289^
1290/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1291#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1292                                                ^
1293/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1294#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1295                                                   ^
1296ossl_pkey_dh.c:357:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
1297OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
1298^
1299./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1300        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1301        ^
1302./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1303        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1304        ^
1305./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1306        Get##_type(self, obj);                                          \
1307        ^
1308<scratch space>:68:1: note: expanded from here
1309GetDH
1310^
1311ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
1312    (dh) = EVP_PKEY_get0_DH(_pkey); \
1313           ^
1314/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
1315OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
1316^
1317/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1318#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1319                                                ^
1320/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1321#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1322                                                   ^
1323ossl_pkey_dh.c:357:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1324OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
1325^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1326./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1327        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1328        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1329./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1330        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1331        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1332./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1333        Get##_type(self, obj);                                          \
1334        ^~~~~~~~~~~~~~~~~~~~~
1335<scratch space>:68:1: note: expanded from here
1336GetDH
1337^
1338ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1339    (dh) = EVP_PKEY_get0_DH(_pkey); \
1340         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1341ossl_pkey_dh.c:357:1: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
1342./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1343        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1344        ^
1345./ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1346                _type##_get0_##_group(obj, &bn, NULL))                  \
1347                ^
1348<scratch space>:64:1: note: expanded from here
1349DH_get0_key
1350^
1351/opt/local/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here
1352OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
1353^
1354/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1355#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1356                                                ^
1357/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1358#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1359                                                   ^
1360ossl_pkey_dh.c:357:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
1361OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
1362^
1363./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1364        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1365        ^
1366./ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1367        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1368        ^
1369./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1370        Get##_type(self, obj);                                          \
1371        ^
1372<scratch space>:74:1: note: expanded from here
1373GetDH
1374^
1375ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
1376    (dh) = EVP_PKEY_get0_DH(_pkey); \
1377           ^
1378/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
1379OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
1380^
1381/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1382#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1383                                                ^
1384/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1385#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1386                                                   ^
1387ossl_pkey_dh.c:357:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1388OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
1389^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1390./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1391        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1392        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1393./ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1394        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1395        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1396./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1397        Get##_type(self, obj);                                          \
1398        ^~~~~~~~~~~~~~~~~~~~~
1399<scratch space>:74:1: note: expanded from here
1400GetDH
1401^
1402ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
1403    (dh) = EVP_PKEY_get0_DH(_pkey); \
1404         ^ ~~~~~~~~~~~~~~~~~~~~~~~
1405ossl_pkey_dh.c:357:1: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
1406./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1407        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1408        ^
1409./ossl_pkey.h:117:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1410                _type##_get0_##_group(obj, NULL, &bn))
1411                ^
1412<scratch space>:70:1: note: expanded from here
1413DH_get0_key
1414^
1415/opt/local/include/openssl/dh.h:256:1: note: 'DH_get0_key' has been explicitly marked deprecated here
1416OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
1417^
1418/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1419#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1420                                                ^
1421/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1422#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1423                                                   ^
14241 warning generated.
1425compiling ossl_x509.c
1426compiling ossl_x509attr.c
1427compiling ossl_x509cert.c
1428ossl_pkey_dsa.c:30:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
1429    DSA_get0_key(dsa, NULL, &bn);
1430    ^
1431/opt/local/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
1432OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
1433^
1434/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1435#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1436                                                ^
1437/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1438#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1439                                                   ^
1440ossl_pkey_dsa.c:99:15: warning: 'DSA_new' is deprecated [-Wdeprecated-declarations]
1441        dsa = DSA_new();
1442              ^
1443/opt/local/include/openssl/dsa.h:125:1: note: 'DSA_new' has been explicitly marked deprecated here
1444OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
1445^
1446/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1447#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1448                                                ^
1449/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1450#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1451                                                   ^
1452ossl_pkey_dsa.c:110:51: warning: 'd2i_DSAPublicKey' is deprecated [-Wdeprecated-declarations]
1453    dsa = (DSA *)PEM_ASN1_read_bio((d2i_of_void *)d2i_DSAPublicKey,
1454                                                  ^
1455/opt/local/include/openssl/dsa.h:148:41: note: 'd2i_DSAPublicKey' has been explicitly marked deprecated here
1456DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
1457                                        ^
1458/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1459#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1460                                                ^
1461/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1462#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1463                                                   ^
1464ossl_pkey_dsa.c:133:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
1465    if (!pkey || EVP_PKEY_assign_DSA(pkey, dsa) != 1) {
1466                 ^
1467/opt/local/include/openssl/evp.h:501:41: note: expanded from macro 'EVP_PKEY_assign_DSA'
1468#  define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
1469                                        ^
1470/opt/local/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
1471OSSL_DEPRECATEDIN_3_0
1472^
1473/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1474#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1475                                                ^
1476/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1477#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1478                                                   ^
1479ossl_pkey_dsa.c:135:9: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations]
1480        DSA_free(dsa);
1481        ^
1482/opt/local/include/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here
1483OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
1484^
1485/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1486#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1487                                                ^
1488/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1489#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1490                                                   ^
1491ossl_pkey_dsa.c:185:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1492    GetDSA(self, dsa);
1493    ^
1494ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1495    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1496            ^
1497/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1498OSSL_DEPRECATEDIN_3_0
1499^
1500/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1501#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1502                                                ^
1503/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1504#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1505                                                   ^
1506ossl_pkey_dsa.c:185:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1507    GetDSA(self, dsa);
1508    ^~~~~~~~~~~~~~~~~
1509ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1510    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1511          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1512ossl_pkey_dsa.c:186:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
1513    DSA_get0_key(dsa, &bn, NULL);
1514    ^
1515/opt/local/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
1516OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
1517^
1518/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1519#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1520                                                ^
1521/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1522#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1523                                                   ^
1524ossl_pkey_dsa.c:203:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1525    GetDSA(self, dsa);
1526    ^
1527ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1528    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1529            ^
1530/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1531OSSL_DEPRECATEDIN_3_0
1532^
1533/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1534#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1535                                                ^
1536/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1537#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1538                                                   ^
1539ossl_pkey_dsa.c:203:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1540    GetDSA(self, dsa);
1541    ^~~~~~~~~~~~~~~~~
1542ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1543    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1544          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1545ossl_pkey_dsa.c:230:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1546    GetDSA(self, dsa);
1547    ^
1548ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1549    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1550            ^
1551/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1552OSSL_DEPRECATEDIN_3_0
1553^
1554/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1555#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1556                                                ^
1557/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1558#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1559                                                   ^
1560ossl_pkey_dsa.c:230:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1561    GetDSA(self, dsa);
1562    ^~~~~~~~~~~~~~~~~
1563ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1564    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1565          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1566ossl_pkey_dsa.c:249:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1567    GetDSA(self, dsa);
1568    ^
1569ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1570    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1571            ^
1572/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1573OSSL_DEPRECATEDIN_3_0
1574^
1575/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1576#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1577                                                ^
1578/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1579#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1580                                                   ^
1581ossl_pkey_dsa.c:249:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1582    GetDSA(self, dsa);
1583    ^~~~~~~~~~~~~~~~~
1584ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1585    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1586          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1587ossl_pkey_dsa.c:272:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1588    GetDSA(self, dsa);
1589    ^
1590ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1591    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1592            ^
1593/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1594OSSL_DEPRECATEDIN_3_0
1595^
1596/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1597#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1598                                                ^
1599/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1600#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1601                                                   ^
1602ossl_pkey_dsa.c:272:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1603    GetDSA(self, dsa);
1604    ^~~~~~~~~~~~~~~~~
1605ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1606    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1607          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1608ossl_pkey_dsa.c:273:5: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
1609    DSA_get0_pqg(dsa, &p, &q, &g);
1610    ^
1611/opt/local/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
1612OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
1613^
1614/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1615#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1616                                                ^
1617/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1618#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1619                                                   ^
1620ossl_pkey_dsa.c:274:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
1621    DSA_get0_key(dsa, &pub_key, &priv_key);
1622    ^
1623/opt/local/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
1624OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
1625^
1626/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1627#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1628                                                ^
1629/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1630#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1631                                                   ^
1632ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1633OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
1634^
1635./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1636        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1637        ^
1638./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1639        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1640        ^
1641./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1642        Get##_type(self, obj);                                          \
1643        ^
1644<scratch space>:45:1: note: expanded from here
1645GetDSA
1646^
1647ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1648    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1649            ^
1650/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1651OSSL_DEPRECATEDIN_3_0
1652^
1653/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1654#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1655                                                ^
1656/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1657#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1658                                                   ^
1659ossl_pkey_dsa.c:293:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1660OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
1661^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1662./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1663        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1664        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1665./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1666        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1667        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1668./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1669        Get##_type(self, obj);                                          \
1670        ^~~~~~~~~~~~~~~~~~~~~
1671<scratch space>:45:1: note: expanded from here
1672GetDSA
1673^
1674ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1675    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1676          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1677ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
1678./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1679        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1680        ^
1681./ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1682                _type##_get0_##_group(obj, &bn, NULL, NULL))            \
1683                ^
1684<scratch space>:41:1: note: expanded from here
1685DSA_get0_pqg
1686^
1687/opt/local/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
1688OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
1689^
1690/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1691#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1692                                                ^
1693/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1694#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1695                                                   ^
1696ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1697OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
1698^
1699./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1700        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1701        ^
1702./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1703        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1704        ^
1705./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1706        Get##_type(self, obj);                                          \
1707        ^
1708<scratch space>:51:1: note: expanded from here
1709GetDSA
1710^
1711ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1712    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1713            ^
1714/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1715OSSL_DEPRECATEDIN_3_0
1716^
1717/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1718#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1719                                                ^
1720/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1721#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1722                                                   ^
1723ossl_pkey_dsa.c:293:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1724OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
1725^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1726./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1727        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1728        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1729./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1730        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1731        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1732./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1733        Get##_type(self, obj);                                          \
1734        ^~~~~~~~~~~~~~~~~~~~~
1735<scratch space>:51:1: note: expanded from here
1736GetDSA
1737^
1738ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1739    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1740          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1741ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
1742./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1743        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1744        ^
1745./ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1746                _type##_get0_##_group(obj, NULL, &bn, NULL))            \
1747                ^
1748<scratch space>:47:1: note: expanded from here
1749DSA_get0_pqg
1750^
1751/opt/local/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
1752OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
1753^
1754/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1755#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1756                                                ^
1757/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1758#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1759                                                   ^
1760ossl_pkey_dsa.c:293:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1761OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
1762^
1763./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1764        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1765        ^
1766./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1767        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
1768        ^
1769./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1770        Get##_type(self, obj);                                          \
1771        ^
1772<scratch space>:57:1: note: expanded from here
1773GetDSA
1774^
1775ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1776    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1777            ^
1778/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1779OSSL_DEPRECATEDIN_3_0
1780^
1781/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1782#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1783                                                ^
1784/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1785#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1786                                                   ^
1787ossl_pkey_dsa.c:293:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1788OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
1789^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1790./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1791        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1792        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1793./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1794        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
1795        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1796./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1797        Get##_type(self, obj);                                          \
1798        ^~~~~~~~~~~~~~~~~~~~~
1799<scratch space>:57:1: note: expanded from here
1800GetDSA
1801^
1802ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1803    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1804          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1805ossl_pkey_dsa.c:293:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
1806./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
1807        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
1808        ^
1809./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
1810                _type##_get0_##_group(obj, NULL, NULL, &bn))
1811                ^
1812<scratch space>:53:1: note: expanded from here
1813DSA_get0_pqg
1814^
1815/opt/local/include/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
1816OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
1817^
1818/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1819#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1820                                                ^
1821/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1822#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1823                                                   ^
1824ossl_pkey_dsa.c:301:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1825OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
1826^
1827./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1828        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1829        ^
1830./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1831        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1832        ^
1833./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1834        Get##_type(self, obj);                                          \
1835        ^
1836<scratch space>:68:1: note: expanded from here
1837GetDSA
1838^
1839ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1840    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1841            ^
1842/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1843OSSL_DEPRECATEDIN_3_0
1844^
1845/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1846#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1847                                                ^
1848/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1849#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1850                                                   ^
1851ossl_pkey_dsa.c:301:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1852OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
1853^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1854./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1855        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1856        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1857./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1858        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
1859        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1860./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1861        Get##_type(self, obj);                                          \
1862        ^~~~~~~~~~~~~~~~~~~~~
1863<scratch space>:68:1: note: expanded from here
1864GetDSA
1865^
1866ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1867    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1868          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1869ossl_pkey_dsa.c:301:1: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
1870./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1871        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1872        ^
1873./ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1874                _type##_get0_##_group(obj, &bn, NULL))                  \
1875                ^
1876<scratch space>:64:1: note: expanded from here
1877DSA_get0_key
1878^
1879/opt/local/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
1880OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
1881^
1882/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1883#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1884                                                ^
1885/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1886#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1887                                                   ^
1888ossl_pkey_dsa.c:301:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
1889OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
1890^
1891./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1892        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1893        ^
1894./ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1895        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1896        ^
1897./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1898        Get##_type(self, obj);                                          \
1899        ^
1900<scratch space>:74:1: note: expanded from here
1901GetDSA
1902^
1903ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
1904    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1905            ^
1906/opt/local/include/openssl/evp.h:1354:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
1907OSSL_DEPRECATEDIN_3_0
1908^
1909/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1910#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1911                                                ^
1912/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1913#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1914                                                   ^
1915ossl_pkey_dsa.c:301:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
1916OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
1917^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1918./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1919        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1920        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1921./ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1922        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
1923        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1924./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
1925        Get##_type(self, obj);                                          \
1926        ^~~~~~~~~~~~~~~~~~~~~
1927<scratch space>:74:1: note: expanded from here
1928GetDSA
1929^
1930ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
1931    (dsa) = EVP_PKEY_get0_DSA(_pkey); \
1932          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1933ossl_pkey_dsa.c:301:1: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
1934./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
1935        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
1936        ^
1937./ossl_pkey.h:117:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
1938                _type##_get0_##_group(obj, NULL, &bn))
1939                ^
1940<scratch space>:70:1: note: expanded from here
1941DSA_get0_key
1942^
1943/opt/local/include/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
1944OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
1945^
1946/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1947#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1948                                                ^
1949/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1950#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1951                                                   ^
1952ossl_pkey_ec.c:74:13: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
1953        if (!(ec = EC_KEY_new()))
1954                   ^
1955/opt/local/include/openssl/ec.h:968:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
1956OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
1957^
1958/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1959#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1960                                                ^
1961/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1962#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1963                                                   ^
1964ossl_pkey_ec.c:77:7: warning: 'EC_KEY_set_group' is deprecated [-Wdeprecated-declarations]
1965        if (!EC_KEY_set_group(ec, group)) {
1966             ^
1967/opt/local/include/openssl/ec.h:1042:1: note: 'EC_KEY_set_group' has been explicitly marked deprecated here
1968OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
1969^
1970/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1971#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1972                                                ^
1973/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1974#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1975                                                   ^
1976ossl_pkey_ec.c:78:6: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
1977            EC_KEY_free(ec);
1978            ^
1979/opt/local/include/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
1980OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
1981^
1982/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1983#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1984                                                ^
1985/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1986#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1987                                                   ^
1988ossl_pkey_ec.c:87:13: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations]
1989        if (!(ec = EC_KEY_new_by_curve_name(nid)))
1990                   ^
1991/opt/local/include/openssl/ec.h:998:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here
1992OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
1993^
1994/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
1995#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
1996                                                ^
1997/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
1998#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
1999                                                   ^
2000ossl_pkey_ec.c:90:2: warning: 'EC_KEY_set_asn1_flag' is deprecated [-Wdeprecated-declarations]
2001        EC_KEY_set_asn1_flag(ec, OPENSSL_EC_NAMED_CURVE);
2002        ^
2003/opt/local/include/openssl/ec.h:1087:1: note: 'EC_KEY_set_asn1_flag' has been explicitly marked deprecated here
2004OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
2005^
2006/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2007#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2008                                                ^
2009/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2010#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2011                                                   ^
2012ossl_pkey_ec.c:91:2: warning: 'EC_KEY_set_conv_form' is deprecated [-Wdeprecated-declarations]
2013        EC_KEY_set_conv_form(ec, POINT_CONVERSION_UNCOMPRESSED);
2014        ^
2015/opt/local/include/openssl/ec.h:1075:1: note: 'EC_KEY_set_conv_form' has been explicitly marked deprecated here
2016OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey,
2017^
2018/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2019#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2020                                                ^
2021/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2022#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2023                                                   ^
2024ossl_pkey_ec.c:115:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
2025    if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, ec) != 1) {
2026                 ^
2027/opt/local/include/openssl/evp.h:512:9: note: expanded from macro 'EVP_PKEY_assign_EC_KEY'
2028        EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey))
2029        ^
2030/opt/local/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
2031OSSL_DEPRECATEDIN_3_0
2032^
2033/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2034#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2035                                                ^
2036/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2037#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2038                                                   ^
2039ossl_pkey_ec.c:117:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
2040        EC_KEY_free(ec);
2041        ^
2042/opt/local/include/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
2043OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
2044^
2045/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2046#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2047                                                ^
2048/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2049#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2050                                                   ^
2051ossl_pkey_ec.c:122:10: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations]
2052    if (!EC_KEY_generate_key(ec))
2053         ^
2054/opt/local/include/openssl/ec.h:1101:1: note: 'EC_KEY_generate_key' has been explicitly marked deprecated here
2055OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
2056^
2057/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2058#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2059                                                ^
2060ossl_pkey_rsa.c/opt/local/include/openssl/macros.h:62::3152::5 : note: warning: expanded from macro 'OSSL_DEPRECATED'
2061'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
2062#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2063                                                   ^
2064    RSA_get0_key(rsa, NULL, &e, &d);
2065    ^
2066/opt/local/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
2067OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
2068^
2069/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2070#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2071                                                ^
2072/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2073#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2074                                                   ^
2075ossl_pkey_ec.c:153:20: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
2076        if (!(ec = EC_KEY_new()))
2077                   ^
2078/opt/local/include/openssl/ec.h:968:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
2079OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
2080^
2081/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2082ossl_pkey_rsa.c:92:8: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
2083        rsa = RSA_new();
2084              ^
2085/opt/local/include/openssl/rsa.h:201:1: note: 'RSA_new' has been explicitly marked deprecated here
2086OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
2087^
2088/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2089#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2090                                                ^
2091/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2092#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2093                                                   ^
2094ossl_pkey_rsa.c:103:11: warning: 'd2i_RSAPublicKey_bio' is deprecated [-Wdeprecated-declarations]
2095    rsa = d2i_RSAPublicKey_bio(in, NULL);
2096          ^
2097/opt/local/include/openssl/x509.h:618:1: note: 'd2i_RSAPublicKey_bio' has been explicitly marked deprecated here
2098OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa);
2099^
2100/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2101#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2102                                                ^
2103/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2104#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2105                                                   ^
2106ossl_pkey_rsa.c:107:11: warning: 'PEM_read_bio_RSAPublicKey' is deprecated [-Wdeprecated-declarations]
2107    rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL);
2108          ^
2109/opt/local/include/openssl/pem.h:448:21: note: 'PEM_read_bio_RSAPublicKey' has been explicitly marked deprecated here
2110DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
2111                    ^
2112/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2113#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2114                                                ^
2115/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2116#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2117                                                   ^
2118#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2119                                                ^
2120/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2121#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2122                                                   ^
2123ossl_pkey_ec.c:184:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
2124    if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, ec) != 1) {
2125                 ^
2126/opt/local/include/openssl/evp.h:512:9: note: expanded from macro 'EVP_PKEY_assign_EC_KEY'
2127        EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey))
2128        ^
2129/opt/local/include/openssl/evp.h:1327:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
2130OSSL_DEPRECATEDIN_3_0
2131^
2132/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2133#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2134                                                ^
2135/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2136#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2137                                                   ^
2138ossl_pkey_rsa.c:129:18: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
2139    if (!pkey || EVP_PKEY_assign_RSA(pkey, rsa) != 1) {
2140                 ^
2141ossl_pkey_ec.c:186:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
2142/opt/local/include/openssl/evp.h:496:        EC_KEY_free(ec);41
2143:         ^
2144note: expanded from macro 'EVP_PKEY_assign_RSA'
2145/opt/local/include/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
2146#  define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
2147                                        ^
2148OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
2149^
2150/opt/local/include/openssl/evp.h/opt/local/include/openssl/macros.h::1327182::149::  note: note: 'EVP_PKEY_assign' has been explicitly marked deprecated hereexpanded from macro 'OSSL_DEPRECATEDIN_3_0'
2151
2152OSSL_DEPRECATEDIN_3_0
2153^
2154/opt/local/include/openssl/macros.h:182:49:#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2155                                                ^note:
2156expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2157/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2158#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2159                                                ^
2160/opt/local/include/openssl/macros.h:62:52#     define OSSL_DEPRECATED(since) __attribute__((deprecated)):
2161                                                    ^
2162note: expanded from macro 'OSSL_DEPRECATED'
2163#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2164                                                   ^
2165ossl_pkey_rsa.c:131:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
2166        RSA_free(rsa);
2167        ^
2168/opt/local/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here
2169OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
2170^
2171/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2172#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2173                                                ^
2174/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2175#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2176                                                   ^
2177ossl_pkey_ec.c:233:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
2178    GetEC(self, ec);
2179    ^
2180ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
2181    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2182            ^
2183/opt/local/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
2184OSSL_DEPRECATEDIN_3_0
2185^
2186/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2187#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2188                                                ^
2189/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2190#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2191                                                   ^
2192ossl_pkey_ec.c:233:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2193    GetEC(self, ec);
2194    ^~~~~~~~~~~~~~~
2195ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
2196    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2197          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2198ossl_pkey_ec.c:234:13: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations]
2199    group = EC_KEY_get0_group(ec);
2200            ^
2201/opt/local/include/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here
2202OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
2203^
2204/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2205#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2206                                                ^
2207/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2208#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2209                                                   ^
2210ossl_pkey_rsa.c:179:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2211    GetRSA(self, rsa);
2212    ^
2213ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2214    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2215            ^
2216/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2217OSSL_DEPRECATEDIN_3_0
2218^
2219/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2220#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2221                                                ^
2222/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2223#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2224                                                   ^
2225ossl_pkey_rsa.c:179:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2226    GetRSA(self, rsa);
2227    ^~~~~~~~~~~~~~~~~
2228ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2229    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2230          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2231ossl_pkey_ec.c:278:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
2232    GetEC(self, ec);
2233    ^
2234ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
2235    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2236            ^
2237/opt/local/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
2238OSSL_DEPRECATEDIN_3_0
2239^
2240/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2241#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2242                                                ^
2243/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2244#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2245                                                   ^
2246ossl_pkey_ec.c:278:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2247    GetEC(self, ec);
2248    ^~~~~~~~~~~~~~~
2249ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
2250    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2251          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2252ossl_pkey_rsa.c:198:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2253    GetRSA(self, rsa);
2254    ^
2255ossl_pkey_rsa.cossl_pkey_ec.c::23279::1315::  note: warning: expanded from macro 'GetRSA''EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
2256
2257    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2258            ^
2259    if ((bn = EC_KEY_get0_private_key(ec)) == NULL)
2260              ^
2261/opt/local/include/openssl/evp.h:1345:1:/opt/local/include/openssl/ec.h :1048note: :1'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here:
2262note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
2263OSSL_DEPRECATEDIN_3_0
2264^
2265/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2266OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
2267^
2268/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2269
2270                                                ^
2271/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2272#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2273                                                ^
2274/opt/local/include/openssl/macros.h:62:52: note: #     define OSSL_DEPRECATED(since) __attribute__((deprecated))expanded from macro 'OSSL_DEPRECATED'
2275
2276                                                   ^
2277#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2278                                                   ^
2279ossl_pkey_rsa.c:198:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2280    GetRSA(self, rsa);
2281    ^~~~~~~~~~~~~~~~~
2282ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2283    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2284          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2285ossl_pkey_rsa.c:209:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2286    GetRSA(self, rsa);
2287ossl_pkey_ec.c    ^:
2288329:5: ossl_pkey_rsa.c:23warning: :13:'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
2289note: expanded from macro 'GetRSA'
2290    GetEC(self, ec);
2291    ^
2292ossl_pkey_ec.c    (rsa) = EVP_PKEY_get0_RSA(_pkey); \:
229324:            ^13
2294: note: expanded from macro 'GetEC'/opt/local/include/openssl/evp.h
2295:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2296    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2297            ^OSSL_DEPRECATEDIN_3_0
2298
2299^
2300/opt/local/include/openssl/evp.h/opt/local/include/openssl/macros.h::1371182::149::  note: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated hereexpanded from macro 'OSSL_DEPRECATEDIN_3_0'
2301
2302OSSL_DEPRECATEDIN_3_0
2303^
2304/opt/local/include/openssl/macros.h:182:#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)49
2305:                                                 ^
2306note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'/opt/local/include/openssl/macros.h
2307:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2308#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2309                                                ^
2310#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2311/opt/local/include/openssl/macros.h:                                                   ^62
2312:52: note: expanded from macro 'OSSL_DEPRECATED'
2313#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2314                                                   ^
2315ossl_pkey_rsa.c:209:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2316    GetRSA(self, rsa);
2317    ^~~~~~~~~~~~~~~~~
2318ossl_pkey_rsa.c:23:11ossl_pkey_ec.c:: 329:5note: : expanded from macro 'GetRSA'
2319warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2320    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2321          ^ ~~~~~~~~~~~~~~~~~~~~~~~~    GetEC(self, ec);
2322
2323    ^~~~~~~~~~~~~~~
2324ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
2325ossl_pkey_rsa.c:211:5:    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2326          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~warning:
2327'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
2328    RSA_get0_key(rsa, &n, &e, &d);
2329    ^
2330/opt/local/include/openssl/rsa.h:217:1: ossl_pkey_ec.c:note: 330:'RSA_get0_key' has been explicitly marked deprecated here18:
2331 warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
2332OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
2333^
2334/opt/local/include/openssl/macros.h    if ((point = EC_KEY_get0_public_key(ec)) == NULL):
2335182:                 ^49
2336: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2337/opt/local/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
2338#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2339                                                ^
2340/opt/local/include/openssl/macros.h:62:52: OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);note:
2341^
2342/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2343#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2344                                                ^
2345/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2346#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2347                                                   ^
2348ossl_pkey_ec.c:333:32: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations]
2349    return ec_point_new(point, EC_KEY_get0_group(ec));
2350                               ^
2351/opt/local/include/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here
2352OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
2353^
2354/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2355#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2356                                                ^
2357/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2358#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2359                                                   ^
2360expanded from macro 'OSSL_DEPRECATED'
2361#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2362                                                   ^
2363ossl_pkey_rsa.c:212:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
2364    RSA_get0_factors(rsa, &p, &q);
2365    ^
2366/opt/local/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
2367OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
2368^
2369/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2370#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2371                                                ^
2372/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2373#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2374                                                   ^
2375ossl_pkey_rsa.c:213:5: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
2376ossl_pkey_ec.c:380:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
2377    RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
2378    ^
2379    GetEC(self, ec);
2380    ^/opt/local/include/openssl/rsa.h
2381:225:1:ossl_pkey_ec.c :24:note: 13:'RSA_get0_crt_params' has been explicitly marked deprecated here
2382note: expanded from macro 'GetEC'
2383    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
2384
2385            ^^
2386
2387/opt/local/include/openssl/macros.h:182/opt/local/include/openssl/evp.h::491371:: 1: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'note:
2388'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
2389OSSL_DEPRECATEDIN_3_0
2390^
2391/opt/local/include/openssl/macros.h:#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)182
2392:49                                                ^:
2393 note: /opt/local/include/openssl/macros.hexpanded from macro 'OSSL_DEPRECATEDIN_3_0':62
2394:52: note: expanded from macro 'OSSL_DEPRECATED'
2395#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2396                                                ^
2397#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2398                                                   ^/opt/local/include/openssl/macros.h
2399:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2400#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2401                                                   ^
2402ossl_pkey_ec.c:380:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2403    GetEC(self, ec);
2404    ^~~~~~~~~~~~~~~
2405ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
2406    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2407          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2408ossl_pkey_ec.c:382:12: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
2409    return EC_KEY_get0_public_key(ec) ? Qtrue : Qfalse;
2410           ^
2411/opt/local/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
2412OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
2413^
2414/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2415#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2416                                                ^
2417/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2418#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2419                                                   ^
2420ossl_pkey_ec.c:396:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
2421    GetEC(self, ec);
2422    ^
2423ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
2424    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2425            ^
2426/opt/local/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
2427OSSL_DEPRECATEDIN_3_0
2428^
2429/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2430#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2431                                                ^
2432/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2433#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2434                                                   ^
2435ossl_pkey_ec.c:396:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2436    GetEC(self, ec);
2437    ^~~~~~~~~~~~~~~
2438ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
2439    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2440          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2441ossl_pkey_ec.c:398:12: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
2442    return EC_KEY_get0_private_key(ec) ? Qtrue : Qfalse;
2443           ^
2444/opt/local/include/openssl/ec.h:1048:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
2445OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
2446^
2447/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2448#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2449                                                ^
2450/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2451#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2452                                                   ^
2453ossl_pkey_ec.c:416:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
2454    GetEC(self, ec);
2455    ^
2456ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
2457    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2458            ^
2459/opt/local/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
2460OSSL_DEPRECATEDIN_3_0
2461^
2462/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2463#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2464                                                ^
2465/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2466#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2467                                                   ^
2468ossl_pkey_ec.c:416:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2469    GetEC(self, ec);
2470    ^~~~~~~~~~~~~~~
2471ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
2472    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2473          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2474ossl_pkey_ec.c:417:9: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
2475    if (EC_KEY_get0_public_key(ec) == NULL)
2476        ^
2477/opt/local/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
2478OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
2479^
2480/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2481#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2482                                                ^
2483/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2484#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2485                                                   ^
2486ossl_pkey_ec.c:419:9: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
2487    if (EC_KEY_get0_private_key(ec))
2488        ^
2489/opt/local/include/openssl/ec.h:1048:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
2490OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
2491^
2492/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2493#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2494                                                ^
2495/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2496#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2497                                                   ^
2498ossl_pkey_ec.c:436:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
2499    GetEC(self, ec);
2500    ^
2501ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
2502    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2503            ^
2504/opt/local/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
2505OSSL_DEPRECATEDIN_3_0
2506^
2507/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2508#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2509                                                ^
2510/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2511#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2512                                                   ^
2513ossl_pkey_ec.c:436:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2514    GetEC(self, ec);
2515    ^~~~~~~~~~~~~~~
2516ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
2517    (key) = EVP_PKEY_get0_EC_KEY(_pkey); \
2518          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2519ossl_pkey_ec.c:437:9: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
2520    if (EC_KEY_get0_public_key(ec) == NULL)
2521        ^
2522/opt/local/include/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
2523OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
2524^
2525/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2526#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2527                                                ^
2528/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2529#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2530                                                   ^
2531ossl_pkey_ec.c:439:9: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
2532    if (EC_KEY_get0_private_key(ec))
2533        ^
2534/opt/local/include/openssl/ec.h:1048:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
2535OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
2536^
2537/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2538#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2539                                                ^
2540/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2541#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2542                                                   ^
2543ossl_pkey_rsa.c:460:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2544    GetRSA(self, rsa);
2545    ^
2546ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2547    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2548            ^
2549/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2550OSSL_DEPRECATEDIN_3_0
2551^
2552/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2553#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2554                                                ^
2555/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2556#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2557                                                   ^
2558ossl_pkey_rsa.c:460:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2559    GetRSA(self, rsa);
2560    ^~~~~~~~~~~~~~~~~
2561ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2562    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2563          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2564ossl_pkey_rsa.c:461:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
2565    RSA_get0_key(rsa, &n, &e, &d);
2566    ^
2567/opt/local/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
2568OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
2569^
2570/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2571#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2572                                                ^
2573/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2574#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2575                                                   ^
2576ossl_pkey_rsa.c:462:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
2577    RSA_get0_factors(rsa, &p, &q);
2578    ^
2579/opt/local/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
2580OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
2581^
2582/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2583#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2584                                                ^
2585/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2586#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2587                                                   ^
2588ossl_pkey_rsa.c:463:5: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
2589    RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
2590    ^
2591/opt/local/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
2592OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
2593^
2594/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2595#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2596                                                ^
2597/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2598#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2599                                                   ^
2600ossl_pkey_ec.c:577:21: warning: 'PEM_read_bio_ECPKParameters' is deprecated [-Wdeprecated-declarations]
2601            group = PEM_read_bio_ECPKParameters(in, NULL, NULL, NULL);
2602                    ^
2603/opt/local/include/openssl/pem.h:461:21: note: 'PEM_read_bio_ECPKParameters' has been explicitly marked deprecated here
2604DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
2605                    ^
2606/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2607#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2608                                                ^
2609/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2610ossl_pkey_rsa.c:485#     define OSSL_DEPRECATED(since) __attribute__((deprecated)):
26111:                                                   ^
2612warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2613OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
2614^
2615./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2616        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2617        ^
2618./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2619        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
2620        ^
2621./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2622        Get##_type(self, obj);                                          \
2623        ^
2624<scratch space>:45:1: note: expanded from here
2625GetRSA
2626^
2627ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2628    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2629            ^
2630/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2631OSSL_DEPRECATEDIN_3_0
2632^
2633/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2634#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2635                                                ^
2636/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2637#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2638                                                   ^
2639ossl_pkey_rsa.c:485:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2640OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
2641^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2642./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2643        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2644        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2645./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2646        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
2647        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2648./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2649        Get##_type(self, obj);                                          \
2650        ^~~~~~~~~~~~~~~~~~~~~
2651<scratch space>:45:1: note: expanded from here
2652GetRSA
2653^
2654ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2655    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2656          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2657ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
2658./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2659        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2660        ^
2661./ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2662                _type##_get0_##_group(obj, &bn, NULL, NULL))            \
2663                ^
2664<scratch space>:41:1: note: expanded from here
2665RSA_get0_key
2666^
2667/opt/local/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
2668OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
2669^
2670/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2671#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2672                                                ^
2673/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
267438 warnings generated.
2675#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2676                                                   ^
2677ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2678OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
2679^
2680./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2681        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2682        ^
2683./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2684        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
2685        ^
2686./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2687        Get##_type(self, obj);                                          \
2688        ^
2689<scratch space>:51:1: note: expanded from here
2690GetRSA
2691^
2692ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2693    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2694            ^
2695/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2696OSSL_DEPRECATEDIN_3_0
2697^
2698/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2699#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2700                                                ^
2701/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2702#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2703                                                   ^
2704ossl_pkey_rsa.c:485:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2705OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
2706^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2707./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2708        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2709        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2710./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2711        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
2712        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2713./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2714        Get##_type(self, obj);                                          \
2715        ^~~~~~~~~~~~~~~~~~~~~
2716<scratch space>:51:1: note: expanded from here
2717GetRSA
2718^
2719ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2720    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2721          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2722ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
2723./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2724        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2725        ^
2726./ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2727                _type##_get0_##_group(obj, NULL, &bn, NULL))            \
2728                ^
2729<scratch space>:47:1: note: expanded from here
2730RSA_get0_key
2731^
2732/opt/local/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
2733OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
2734^
2735/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2736#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2737                                                ^
2738/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2739#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2740                                                   ^
2741ossl_pkey_rsa.c:485:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2742OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
2743^
2744./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2745        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2746        ^
2747./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2748        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
2749        ^
2750./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2751        Get##_type(self, obj);                                          \
2752        ^
2753<scratch space>:57:1: note: expanded from here
2754GetRSA
2755^
2756ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2757    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2758            ^
2759/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2760OSSL_DEPRECATEDIN_3_0
2761^
2762/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2763#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2764                                                ^
2765/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2766#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2767                                                   ^
2768ossl_pkey_rsa.c:485:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2769OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
2770^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2771./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2772        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2773        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2774./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2775        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
2776        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2777./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2778        Get##_type(self, obj);                                          \
2779        ^~~~~~~~~~~~~~~~~~~~~
2780<scratch space>:57:1: note: expanded from here
2781GetRSA
2782^
2783ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2784    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2785          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2786ossl_pkey_rsa.c:485:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
2787./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2788        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2789        ^
2790./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2791                _type##_get0_##_group(obj, NULL, NULL, &bn))
2792                ^
2793<scratch space>:53:1: note: expanded from here
2794RSA_get0_key
2795^
2796/opt/local/include/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
2797OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
2798^
2799/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2800#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2801                                                ^
2802/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2803#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2804                                                   ^
2805ossl_pkey_rsa.c:493:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2806OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
2807^
2808./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
2809        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
2810        ^
2811./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
2812        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
2813        ^
2814./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2815        Get##_type(self, obj);                                          \
2816        ^
2817<scratch space>:68:1: note: expanded from here
2818GetRSA
2819^
2820ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2821    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2822            ^
2823/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2824OSSL_DEPRECATEDIN_3_0
2825^
2826/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2827#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2828                                                ^
2829/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2830#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2831                                                   ^
2832ossl_pkey_rsa.c:493:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2833OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
2834^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2835./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
2836        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
2837        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2838./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
2839        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
2840        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2841./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2842        Get##_type(self, obj);                                          \
2843        ^~~~~~~~~~~~~~~~~~~~~
2844<scratch space>:68:1: note: expanded from here
2845GetRSA
2846^
2847ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2848    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2849          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2850ossl_pkey_rsa.c:493:1: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
2851./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
2852        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
2853        ^
2854./ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
2855                _type##_get0_##_group(obj, &bn, NULL))                  \
2856                ^
2857<scratch space>:64:1: note: expanded from here
2858RSA_get0_factors
2859^
2860/opt/local/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
2861OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
2862^
2863/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2864#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2865                                                ^
2866/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2867#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2868                                                   ^
2869ossl_pkey_rsa.c:493:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2870OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
2871^
2872./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
2873        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
2874        ^
2875./ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
2876        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
2877        ^
2878./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2879        Get##_type(self, obj);                                          \
2880        ^
2881<scratch space>:74:1: note: expanded from here
2882GetRSA
2883^
2884ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2885    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2886            ^
2887/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2888OSSL_DEPRECATEDIN_3_0
2889^
2890/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2891#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2892                                                ^
2893/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2894#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2895                                                   ^
2896ossl_pkey_rsa.c:493:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2897OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
2898^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2899./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
2900        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
2901        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2902./ossl_pkey.h:116:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
2903        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
2904        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2905./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2906        Get##_type(self, obj);                                          \
2907        ^~~~~~~~~~~~~~~~~~~~~
2908<scratch space>:74:1: note: expanded from here
2909GetRSA
2910^
2911ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2912    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2913          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2914ossl_pkey_rsa.c:493:1: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
2915./ossl_pkey.h:198:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
2916        OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2)       \
2917        ^
2918./ossl_pkey.h:117:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
2919                _type##_get0_##_group(obj, NULL, &bn))
2920                ^
2921<scratch space>:70:1: note: expanded from here
2922RSA_get0_factors
2923^
2924/opt/local/include/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
2925OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
2926^
2927/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2928#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2929                                                ^
2930/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2931#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2932                                                   ^
2933ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2934OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
2935^
2936./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2937        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2938        ^
2939./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2940        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
2941        ^
2942./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2943        Get##_type(self, obj);                                          \
2944        ^
2945<scratch space>:85:1: note: expanded from here
2946GetRSA
2947^
2948ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
2949    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2950            ^
2951/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
2952OSSL_DEPRECATEDIN_3_0
2953^
2954/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2955#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2956                                                ^
2957/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2958#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2959                                                   ^
2960ossl_pkey_rsa.c:503:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2961OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
2962^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2963./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2964        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2965        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2966./ossl_pkey.h:106:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2967        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1,                   \
2968        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2969./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
2970        Get##_type(self, obj);                                          \
2971        ^~~~~~~~~~~~~~~~~~~~~
2972<scratch space>:85:1: note: expanded from here
2973GetRSA
2974^
2975ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
2976    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
2977          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2978ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
2979./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
2980        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
2981        ^
2982./ossl_pkey.h:107:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
2983                _type##_get0_##_group(obj, &bn, NULL, NULL))            \
2984                ^
2985<scratch space>:81:1: note: expanded from here
2986RSA_get0_crt_params
2987^
2988/opt/local/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
2989OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
2990^
2991/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
2992#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
2993                                                ^
2994/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
2995#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
2996                                                   ^
2997ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
2998OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
2999^
3000./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
3001        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
3002        ^
3003./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
3004        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
3005        ^
3006./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
3007        Get##_type(self, obj);                                          \
3008        ^
3009<scratch space>:91:1: note: expanded from here
3010GetRSA
3011^
3012ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
3013    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
3014            ^
3015/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
3016OSSL_DEPRECATEDIN_3_0
3017^
3018/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3019#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3020                                                ^
3021/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3022#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3023                                                   ^
3024ossl_pkey_rsa.c:503:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
3025OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
3026^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3027./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
3028        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
3029        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3030./ossl_pkey.h:108:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
3031        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2,                   \
3032        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3033./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
3034        Get##_type(self, obj);                                          \
3035        ^~~~~~~~~~~~~~~~~~~~~
3036<scratch space>:91:1: note: expanded from here
3037GetRSA
3038^
3039ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
3040    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
3041          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
3042ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
3043./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
3044        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
3045        ^
3046./ossl_pkey.h:109:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
3047                _type##_get0_##_group(obj, NULL, &bn, NULL))            \
3048                ^
3049<scratch space>:87:1: note: expanded from here
3050RSA_get0_crt_params
3051^
3052/opt/local/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
3053OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
3054^
3055/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3056#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3057                                                ^
3058/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3059#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3060                                                   ^
3061ossl_pkey_rsa.c:503:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
3062OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
3063^
3064./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
3065        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
3066        ^
3067./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
3068        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
3069        ^
3070./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
3071        Get##_type(self, obj);                                          \
3072        ^
3073<scratch space>:97:1: note: expanded from here
3074GetRSA
3075^
3076ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
3077    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
3078            ^
3079/opt/local/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
3080OSSL_DEPRECATEDIN_3_0
3081^
3082/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3083#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3084                                                ^
3085/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3086#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3087                                                   ^
3088ossl_pkey_rsa.c:503:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
3089OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
3090^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3091./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
3092        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
3093        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3094./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
3095        OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3,                   \
3096        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3097./ossl_pkey.h:98:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
3098        Get##_type(self, obj);                                          \
3099        ^~~~~~~~~~~~~~~~~~~~~
3100<scratch space>:97:1: note: expanded from here
3101GetRSA
3102^
3103ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
3104    (rsa) = EVP_PKEY_get0_RSA(_pkey); \
3105          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
3106ossl_pkey_rsa.c:503:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
3107./ossl_pkey.h:194:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
3108        OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3)   \
3109        ^
3110./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
3111                _type##_get0_##_group(obj, NULL, NULL, &bn))
3112                ^
3113<scratch space>:93:1: note: expanded from here
3114RSA_get0_crt_params
3115^
3116/opt/local/include/openssl/rsa.h:225:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
3117OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
3118^
3119/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3120#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3121                                                ^
3122/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3123#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3124                                                   ^
3125compiling ossl_x509crl.c
3126ossl_pkey_ec.c:1023:13: warning: 'PEM_write_bio_ECPKParameters' is deprecated [-Wdeprecated-declarations]
3127        i = PEM_write_bio_ECPKParameters(out, group);
3128            ^
3129/opt/local/include/openssl/pem.h:461:21: note: 'PEM_write_bio_ECPKParameters' has been explicitly marked deprecated here
3130DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
3131                    ^
3132/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3133#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3134                                                ^
3135/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3136#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3137                                                   ^
3138ossl_pkey_ec.c:1081:10: warning: 'ECPKParameters_print' is deprecated [-Wdeprecated-declarations]
3139    if (!ECPKParameters_print(out, group, 0)) {
3140         ^
3141/opt/local/include/openssl/ec.h:926:1: note: 'ECPKParameters_print' has been explicitly marked deprecated here
3142OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x,
3143^
3144/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3145#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3146                                                ^
3147/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3148#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3149                                                   ^
3150ossl_pkey_ec.c:1168:14: warning: 'EC_POINT_bn2point' is deprecated [-Wdeprecated-declarations]
3151            point = EC_POINT_bn2point(group, GetBNPtr(arg2), NULL, ossl_bn_ctx);
3152                    ^
3153/opt/local/include/openssl/ec.h:774:1: note: 'EC_POINT_bn2point' has been explicitly marked deprecated here
3154OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *,
3155^
3156/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3157#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3158                                                ^
3159/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3160#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3161                                                   ^
3162ossl_ssl.c:294:12: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
3163    return EVP_PKEY_get0_DH(pkey);
3164           ^
3165/opt/local/include/openssl/evp.h:1363:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
3166OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
3167^
3168/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3169#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3170                                                ^
3171/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3172#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3173                                                   ^
3174ossl_ssl.c:294:12: warning: returning 'const struct dh_st *' from a function with result type 'DH *' (aka 'struct dh_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
3175    return EVP_PKEY_get0_DH(pkey);
3176           ^~~~~~~~~~~~~~~~~~~~~~
3177ossl_ssl.c:769:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated [-Wdeprecated-declarations]
3178    SSL_CTX_set_tmp_dh_callback(ctx, ossl_tmp_dh_callback);
3179    ^
3180/opt/local/include/openssl/ssl.h:2226:1: note: 'SSL_CTX_set_tmp_dh_callback' has been explicitly marked deprecated here
3181OSSL_DEPRECATEDIN_3_0
3182^
3183/opt/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
3184#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
3185                                                ^
3186/opt/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
3187#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
3188                                                   ^
3189ossl_ssl.c:1643:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
3190        ret = func(ssl);
3191                  ^
319233 warnings generated.
3193compiling ossl_x509ext.c
3194compiling ossl_x509name.c
3195compiling ossl_x509req.c
3196compiling ossl_x509revoked.c
3197compiling ossl_x509store.c
319844 warnings generated.
3199installing default openssl libraries
320040 warnings generated.
32014 warnings generated.
3202linking shared-object openssl.bundle
3203linking shared-object nkf.bundle
3204linking shared-object date_core.bundle
3205make: *** [build-ext] Error 2