Skip to content

Instantly share code, notes, and snippets.

@ChunAllen
Created February 22, 2024 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChunAllen/d700773270e6db5bb59c6fa0f2e1e32e to your computer and use it in GitHub Desktop.
Save ChunAllen/d700773270e6db5bb59c6fa0f2e1e32e to your computer and use it in GitHub Desktop.
Error on installation ruby-3.0.1 using rvm
+__rvm_make:0> make -j10
BASERUBY = /Users/allenchun/.rvm/rubies/ruby-3.2.2/bin/ruby --disable=gems
CC = gcc -fdeclspec
LD = ld
LDSHARED = gcc -fdeclspec -dynamiclib
CFLAGS = -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/openssl@1.1/include -fno-common -pipe -m64
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -I. -I.ext/include/arm64-darwin23 -I./include -I. -I./enc/unicode/12.1.0
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT
DLDFLAGS = -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/libksba/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/openssl@1.1/lib -Wl,-undefined,dynamic_lookup -install_name /Users/allenchun/.rvm/rubies/ruby-3.0.1/lib/libruby.3.0.dylib -compatibility_version 3.0 -current_version 3.0.1 -fstack-protector-strong -framework Security -framework Foundation -fstack-protector-strong -framework Security -framework Foundation -m64
SOLIBS = -lpthread -ldl -lobjc
LANG =
LC_ALL = en_US.UTF-8
LC_CTYPE = UTF-8
MFLAGS = - --jobserver-fds=4,5 -j
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.3.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
translating probes probes.d
compiling ast.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
compiling complex.c
. ./vm_opts.h
compiling cont.c
compiling debug.c
compiling debug_counter.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
error.c:2241: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]
char *strerror();
^
In file included from eval.c:58:
./eval_jump.c:105:18: 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]
(*endproc.func) (endproc.data);
^
1 warning generated.
compiling io.c
compiling iseq.c
compiling load.c
1 warning generated.
compiling marshal.c
compiling math.c
compiling memory_view.c
making mjit_config.h
compiling mjit_compile.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling proc.c
compiling process.c
compiling ractor.c
In file included from parse.y:7843:
defs/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]
static const struct kwtable *reserved_word(/*const char *, unsigned int*/);
^
defs/keywords:162:1: note: conflicting prototype is here
rb_reserved_word (register const char *str, register size_t len)
^
defs/keywords:6:36: note: expanded from macro 'rb_reserved_word'
#define rb_reserved_word(str, len) reserved_word(str, len)
^
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling scheduler.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
In file included from sprintf.c:997:
./vsnprintf.c:329:21: 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]
err = (*fp->vwrite)(fp, uio);
^
./vsnprintf.c:841:23: 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]
cp = (*fp->vextra)(fp, sizeof(ulval), &ulval, &fieldsz, sign);
^
compiling symbol.c
compiling thread.c
compiling time.c
compiling transcode.c
compiling transient_heap.c
2 warnings generated.
compiling util.c
compiling variable.c
compiling vm.c
1 warning generated.
compiling vm_backtrace.c
compiling vm_dump.c
compiling vm_sync.c
compiling vm_trace.c
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
In file included from vm.c:352:
./vm_insnhelper.c:2589: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]
return (*func)(recv, rb_ary_new4(argc, argv));
^
./vm_insnhelper.c:2596: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]
return (*func)(argc, argv, recv);
^
./vm_insnhelper.c:2730: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]
return (*func)(recv, rb_ary_new4(argc, argv));
^
./vm_insnhelper.c:2736: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]
return (*func)(argc, argv, recv);
^
compiling ./missing/finite.c
compiling addr2line.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
compiling array.c
compiling mjit.c
assembling coroutine/arm64/Context.S
dln.c:77: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]
char *getenv();
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char *getenv(const char *);
^
1 warning generated.
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
./revision.h unchanged
compiling version.c
config.status: creating ruby-runner.h
In file included from enc/unicode.c:177:
./enc/unicode/12.1.0/name2ctype.h:38038: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]
static const struct uniname2ctype_struct *uniname2ctype_p(
^
./enc/unicode/12.1.0/name2ctype.h:39913:1: note: conflicting prototype is here
uniname2ctype_p (register const char *str, register size_t len)
^
1 warning generated.
4 warnings generated.
linking miniruby
warning: no debug symbols in executable (-arch arm64)
generating arm64-darwin23-fake.rb
arm64-darwin23-fake.rb updated
warning: no debug symbols in executable (-arch arm64)
generating encdb.h
builtin_binary.inc updated
compiling builtin.c
encdb.h updated
./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb updated
creating verconf.h
generating enc.mk
building rb_mjit_header.h
./miniruby -I./lib -I. -I.ext/common ./tool/mjit_tabs.rb "" \
gcc -E -DMJIT_HEADER -P -dD -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/openssl@1.1/include -fno-common -pipe -m64 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -I. -I.ext/include/arm64-darwin23 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT ./vm.c -o rb_mjit_header.h.new
verconf.h updated
compiling loadpath.c
linking static-library libruby.3.0-static.a
making srcs under enc
rb_mjit_header.h updated
building .ext/include/arm64-darwin23/rb_mjit_min_header-3.0.1.h
./miniruby -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "gcc -fdeclspec -m64 -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/openssl@1.1/include -fno-common -pipe -m64" rb_mjit_header.h .ext/include/arm64-darwin23/rb_mjit_min_header-3.0.1.h
make[1]: Nothing to be done for `srcs'.
generating transdb.h
linking shared-library libruby.3.0.dylib
transdb.h updated
warning: no debug symbols in executable (-arch arm64)
generating makefiles ext/configure-ext.mk
making enc
making trans
linking ruby
compiling ./enc/trans/transdb.c
compiling ./enc/encdb.c
compiling ./enc/big5.c
compiling ./enc/trans/big5.c
compiling ./enc/trans/cesu_8.c
compiling ./enc/trans/chinese.c
compiling ./enc/cesu_8.c
compiling ./enc/cp949.c
compiling ./enc/trans/ebcdic.c
warning: no debug symbols in executable (-arch arm64)
compiling ./enc/emacs_mule.c
compiling ./enc/trans/emoji.c
ext/configure-ext.mk updated
compiling ./enc/euc_jp.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/euc_kr.c
transform_mjit_header: making external definition static inline: rb_vm_lvar_exposed, Init_vm_stack_canary, rb_vm_opt_cfunc_p, rb_find_defined_class_by_owner, rb_vm_rewrite_cref, rb_vm_block_ep_update, rb_vm_cref_new_toplevel, rb_vm_frame_block_handler, rb_vm_cframe_keyword_p, rb_vm_ep_local_ep
transform_mjit_header: making declaration static inline: 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
transform_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, __darwin_fd_clr, __darwin_fd_set, __darwin_fd_isset, __darwin_check_fd_set, __sputc
configuring -test-/RUBY_ALIGNOF
In file included from ./enc/euc_jp.c:503:
enc/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]
static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/);
^
enc/jis/props.kwd:146:1: note: conflicting prototype is here
onig_jis_property (register const char *str, register size_t len)
^
compiling ./enc/trans/emoji_sjis_docomo.c
ln -sf ../../../.ext/include/arm64-darwin23/rb_mjit_min_header-3.0.1.h include/ruby-3.0.0/arm64-darwin23/rb_mjit_min_header-3.0.1.h
1 warning generated.
making mjit_build_dir.dylib
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/euc_tw.c
configuring bigdecimal
compiling ./enc/gb2312.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/gb18030.c
configuring cgi/escape
compiling ./enc/trans/escape.c
compiling ./enc/gbk.c
compiling ./enc/trans/gb18030.c
configuring continuation
compiling ./enc/iso_8859_1.c
configuring coverage
configuring date
compiling ./enc/iso_8859_2.c
configuring dbm
configuring -test-/arith_seq/extract
configuring digest
configuring -test-/array/resize
configuring -test-/bignum
compiling ./enc/iso_8859_3.c
configuring digest/bubblebabble
configuring digest/md5
configuring -test-/bug-14834
configuring -test-/bug-3571
configuring etc
compiling ./enc/iso_8859_4.c
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/cxxanyargs
compiling ./enc/iso_8859_5.c
configuring fcntl
compiling ./enc/trans/gbk.c
compiling ./enc/iso_8859_6.c
compiling ./enc/trans/iso2022.c
configuring -test-/debug
compiling ./enc/iso_8859_7.c
configuring -test-/dln/empty
configuring -test-/enumerator_kw
configuring -test-/exception
compiling ./enc/trans/japanese.c
configuring -test-/fatal
configuring -test-/file
compiling ./enc/iso_8859_8.c
configuring fiber
configuring digest/rmd160
compiling ./enc/trans/japanese_euc.c
configuring fiddle
configuring gdbm
compiling ./enc/iso_8859_9.c
configuring digest/sha1
compiling ./enc/iso_8859_10.c
configuring io/console
compiling ./enc/iso_8859_11.c
configuring digest/sha2
compiling ./enc/iso_8859_13.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
compiling ./enc/trans/japanese_sjis.c
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
configuring json
configuring json/generator
configuring json/parser
compiling ./enc/koi8_u.c
compiling ./enc/trans/korean.c
libffi_version: 3.4.0
compiling ./enc/trans/single_byte.c
compiling ./enc/shift_jis.c
In file included from ./enc/shift_jis.c:31:
In file included from ./enc/shift_jis.h:490:
enc/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]
static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/);
^
enc/jis/props.kwd:146:1: note: conflicting prototype is here
onig_jis_property (register const char *str, register size_t len)
^
1 warning generated.
compiling ./enc/utf_16be.c
configuring monitor
compiling ./enc/utf_16le.c
compiling ./enc/trans/utf8_mac.c
compiling ./enc/utf_32be.c
compiling ./enc/trans/utf_16_32.c
compiling ./enc/utf_32le.c
configuring nkf
compiling ./enc/windows_31j.c
configuring objspace
configuring openssl
In file included from ./enc/windows_31j.c:32:
In file included from ./enc/shift_jis.h:490:
enc/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]
static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/);
^
enc/jis/props.kwd:146:1: note: conflicting prototype is here
onig_jis_property (register const char *str, register size_t len)
^
configuring pathname
1 warning generated.
linking transcoder transdb.bundle
compiling ./enc/windows_1250.c
header: ndbm.h
library: libc
linking transcoder big5.bundle
compiling ./enc/windows_1251.c
linking transcoder cesu_8.bundle
compiling ./enc/windows_1252.c
linking transcoder chinese.bundle
configuring io/nonblock
configuring -test-/float
configuring -test-/funcall
compiling ./enc/windows_1253.c
configuring -test-/gvl/call_without_gvl
linking transcoder ebcdic.bundle
configuring -test-/hash
configuring -test-/integer
linking transcoder emoji.bundle
configuring -test-/iseq_load
compiling ./enc/windows_1254.c
configuring -test-/iter
configuring -test-/load/dot.dot
linking transcoder emoji_iso2022_kddi.bundle
configuring -test-/load/protect
configuring io/wait
compiling ./enc/windows_1257.c
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring psych
configuring -test-/marshal/usr
linking transcoder emoji_sjis_docomo.bundle
configuring -test-/memory_status
configuring -test-/memory_view
linking encoding encdb.bundle
linking transcoder emoji_sjis_kddi.bundle
configuring -test-/method
configuring -test-/notimplement
configuring -test-/num2int
linking encoding big5.bundle
configuring -test-/path_to_class
linking transcoder emoji_sjis_softbank.bundle
configuring -test-/popen_deadlock
configuring -test-/postponed_job
linking encoding cesu_8.bundle
configuring -test-/printf
configuring -test-/proc
linking transcoder escape.bundle
configuring -test-/random
linking encoding cp949.bundle
configuring -test-/rational
linking transcoder gb18030.bundle
configuring -test-/rb_call_super_kw
configuring pty
linking encoding emacs_mule.bundle
configuring -test-/recursion
configuring -test-/regexp
linking transcoder gbk.bundle
configuring -test-/scan_args
configuring -test-/st/foreach
linking encoding euc_jp.bundle
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
linking transcoder iso2022.bundle
configuring -test-/struct
configuring -test-/symbol
linking encoding euc_kr.bundle
linking transcoder japanese.bundle
linking encoding euc_tw.bundle
linking transcoder japanese_euc.bundle
linking encoding gb2312.bundle
linking transcoder japanese_sjis.bundle
linking encoding gb18030.bundle
configuring racc/cparse
linking transcoder korean.bundle
linking encoding gbk.bundle
linking transcoder single_byte.bundle
configuring rbconfig/sizeof
linking encoding iso_8859_1.bundle
linking transcoder utf8_mac.bundle
linking encoding iso_8859_2.bundle
linking transcoder utf_16_32.bundle
configuring readline
linking encoding iso_8859_3.bundle
configuring -test-/thread_fd_close
configuring -test-/time
linking encoding iso_8859_4.bundle
configuring ripper
configuring -test-/tracepoint
linking encoding iso_8859_5.bundle
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
linking encoding iso_8859_6.bundle
configuring rubyvm
configuring socket
linking encoding iso_8859_7.bundle
linking encoding iso_8859_8.bundle
configuring stringio
linking encoding iso_8859_9.bundle
linking encoding iso_8859_10.bundle
configuring strscan
linking encoding iso_8859_11.bundle
linking encoding iso_8859_13.bundle
linking encoding iso_8859_14.bundle
configuring syslog
linking encoding iso_8859_15.bundle
linking encoding iso_8859_16.bundle
linking encoding koi8_r.bundle
linking encoding koi8_u.bundle
linking encoding shift_jis.bundle
linking encoding utf_16be.bundle
configuring zlib
linking encoding utf_16le.bundle
linking encoding utf_32be.bundle
linking encoding utf_32le.bundle
linking encoding windows_31j.bundle
linking encoding windows_1250.bundle
linking encoding windows_1251.bundle
linking encoding windows_1252.bundle
linking encoding windows_1253.bundle
linking encoding windows_1254.bundle
linking encoding windows_1257.bundle
making encs
make[1]: Nothing to be done for `encs'.
generating makefile exts.mk
exts.mk updated
compiling bug.c
compiling bug-14384.c
compiling resize.c
compiling c.c
compiling bug.c
compiling cxxanyargs.cpp
compiling extract.c
compiling class2name.c
compiling big2str.c
compiling cpp.cpp
compiling init.c
compiling bigzero.c
linking shared-object -test-/bug_3571.bundle
compiling bug_reporter.c
linking shared-object -test-/array/resize.bundle
linking shared-object -test-/bug_5832.bundle
linking shared-object -test-/bug_14834.bundle
linking shared-object -test-/arith_seq/extract.bundle
compiling div.c
compiling empty.c
compiling init.c
compiling init.c
linking shared-object -test-/class.bundle
linking shared-object -test-/bug_reporter.bundle
linking shared-object -test-/RUBY_ALIGNOF.bundle
compiling enumerator_kw.c
compiling inspector.c
compiling intpack.c
compiling dataerror.c
compiling profile_frames.c
compiling rb_fatal.c
linking shared-object -test-/dln/empty.bundle
compiling fs.c
compiling mul.c
compiling init.c
linking shared-object -test-/cxxanyargs.bundle
compiling enc_raise.c
linking shared-object -test-/enumerator_kw.bundle
linking shared-object -test-/debug.bundle
compiling init.c
compiling ensured.c
linking shared-object -test-/fatal/rb_fatal.bundle
compiling stat.c
compiling str2big.c
compiling funcall.c
compiling init.c
compiling nextafter.c
compiling call_without_gvl.c
compiling delete.c
compiling init.c
compiling core_ext.c
compiling iseq_load.c
linking shared-object -test-/bignum.bundle
linking shared-object -test-/exception.bundle
linking shared-object -test-/file.bundle
linking shared-object -test-/funcall.bundle
linking shared-object -test-/float.bundle
linking shared-object -test-/gvl/call_without_gvl.bundle
compiling dot.dot.c
compiling break.c
compiling init.c
compiling protect.c
compiling my_integer.c
compiling usrcompat.c
compiling internal_ivar.c
linking shared-object -test-/load/dot.dot.bundle
linking shared-object -test-/hash.bundle
compiling init.c
linking shared-object -test-/iseq_load.bundle
compiling usrmarshal.c
compiling memory_status.c
compiling yield.c
linking shared-object -test-/integer.bundle
linking shared-object -test-/load/protect.bundle
compiling memory_view.c
compiling arity.c
linking shared-object -test-/marshal/compat.bundle
linking shared-object -test-/marshal/internal_ivar.bundle
compiling num2int.c
compiling bug.c
compiling init.c
compiling path_to_class.c
compiling postponed_job.c
linking shared-object -test-/marshal/usr.bundle
linking shared-object -test-/iter.bundle
compiling printf.c
linking shared-object -test-/memory_status.bundle
linking shared-object -test-/memory_view.bundle
compiling init.c
compiling init.c
linking shared-object -test-/notimplement.bundle
linking shared-object -test-/num2int.bundle
compiling receiver.c
compiling rat.c
linking shared-object -test-/method.bundle
linking shared-object -test-/path_to_class.bundle
compiling super.c
compiling rb_call_super_kw.c
linking shared-object -test-/postponed_job.bundle
compiling loop.c
compiling recursion.c
linking shared-object -test-/printf.bundle
compiling scan_args.c
compiling init.c
compiling foreach.c
compiling numhash.c
linking shared-object -test-/rational.bundle
linking shared-object -test-/rb_call_super_kw.bundle
linking shared-object -test-/proc.bundle
compiling parse_depth_limit.c
compiling update.c
linking shared-object -test-/recursion.bundle
linking shared-object -test-/random.bundle
compiling capacity.c
compiling init.c
compiling duplicate.c
linking shared-object -test-/st/numhash.bundle
linking shared-object -test-/st/foreach.bundle
compiling coderange.c
compiling thread_fd_close.c
linking shared-object -test-/scan_args.bundle
linking shared-object -test-/regexp.bundle
linking shared-object -test-/st/update.bundle
compiling gc_hook.c
compiling init.c
compiling type.c
compiling init.c
compiling cstr.c
compiling tracepoint.c
compiling typeddata.c
compiling at_exit.c
linking shared-object -test-/thread_fd_close.bundle
compiling ellipsize.c
compiling leap_second.c
compiling len.c
linking shared-object -test-/symbol.bundle
compiling member.c
compiling wait_for_single_fd.c
linking shared-object -test-/typeddata.bundle
linking shared-object -test-/tracepoint.bundle
compiling enc_associate.c
linking shared-object -test-/vm/at_exit.bundle
compiling new.c
compiling enc_str_buf_cat.c
compiling escape.c
compiling bigdecimal.c
compiling continuation.c
compiling coverage.c
compiling fstring.c
linking shared-object -test-/struct.bundle
linking shared-object -test-/wait_for_single_fd.bundle
linking shared-object -test-/time.bundle
compiling date_core.c
compiling init.c
compiling dbm.c
linking shared-object continuation.bundle
compiling modify.c
compiling digest.c
installing default bigdecimal libraries
linking shared-object cgi/escape.bundle
installing default coverage libraries
linking shared-object coverage.bundle
compiling new.c
installing default digest libraries
installing digest libraries
compiling date_parse.c
compiling etc.c
compiling nofree.c
compiling date_strftime.c
compiling fcntl.c
linking shared-object digest.bundle
compiling normalize.c
linking shared-object dbm.bundle
In file included from date_parse.c:362:
zonetab.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]
static const struct zone *zonetab();
^
zonetab.list:774:1: note: conflicting prototype is here
zonetab (register const char *str, register size_t len)
^
etc.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]
char *getenv();
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char *getenv(const char *);
^
compiling qsort.c
compiling fiber.c
compiling closure.c
1 warning generated.
linking shared-object fcntl.bundle
linking shared-object etc.bundle
linking shared-object fiber.bundle
compiling date_strptime.c
compiling conversions.c
compiling rb_interned_str.c
installing default date_core libraries
compiling console.c
compiling nonblock.c
compiling wait.c
compiling rb_str_dup.c
linking shared-object bigdecimal.bundle
1 warning generated.
compiling fiddle.c
compiling set_len.c
compiling function.c
linking shared-object io/nonblock.bundle
compiling handle.c
compiling monitor.c
linking shared-object io/console.bundle
linking shared-object io/wait.bundle
linking shared-object -test-/string.bundle
installing default monitor libraries
compiling nkf.c
compiling memory_view.c
compiling object_tracing.c
compiling openssl_missing.c
compiling pinned.c
linking shared-object date_core.bundle
linking shared-object monitor.bundle
compiling pathname.c
installing default nkf libraries
compiling psych.c
installing default pathname libraries
compiling pty.c
compiling ossl.c
compiling objspace.c
compiling pointer.c
installing default pty libraries
compiling ossl_asn1.c
compiling objspace_dump.c
compiling psych_emitter.c
compiling psych_parser.c
pty.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]
char *p, *getenv();
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char *getenv(const char *);
^
1 warning generated.
linking shared-object pty.bundle
linking shared-object pathname.bundle
compiling ossl_bio.c
installing default objspace libraries
installing default fiddle libraries
ossl.c:311:14: warning: 'ERR_get_error_line_data' is deprecated [-Wdeprecated-declarations]
while ((e = ERR_get_error_line_data(&file, &line, &data, &flags))) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/err.h:424:1: note: 'ERR_get_error_line_data' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
compiling psych_to_ruby.c
compiling cparse.c
compiling sizes.c
1 warning generated.
ossl_asn1.c:560: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]
if(free_func) free_func(ptr);
^
compiling ossl_bn.c
linking shared-object objspace.bundle
linking shared-object fiddle.bundle
compiling readline.c
ld: warning: ignoring duplicate libraries: '-lffi'
compiling ripper.c
1 warning generated.
compiling psych_yaml_tree.c
compiling limits.c
compiling ossl_cipher.c
installing default libraries
linking shared-object racc/cparse.bundle
compiling init.c
ossl_bn.c:801:1: warning: 'BN_pseudo_rand' is deprecated [-Wdeprecated-declarations]
BIGNUM_RAND(pseudo_rand)
^
ossl_bn.c:783:7: note: expanded from macro 'BIGNUM_RAND'
if (!BN_##func(result, b, top, bottom)) { \
^
<scratch space>:181:1: note: expanded from here
BN_pseudo_rand
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/bn.h:230:1: note: 'BN_pseudo_rand' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_bn.c:834:1: warning: 'BN_pseudo_rand_range' is deprecated [-Wdeprecated-declarations]
BIGNUM_RAND_RANGE(pseudo_rand)
^
ossl_bn.c:812:7: note: expanded from macro 'BIGNUM_RAND_RANGE'
if (!BN_##func##_range(result, bn)) { \
^
<scratch space>:189:1: note: expanded from here
BN_pseudo_rand_range
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/bn.h:232:1: note: 'BN_pseudo_rand_range' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_bn.c:1079:13: warning: 'BN_is_prime_ex' is deprecated [-Wdeprecated-declarations]
switch (BN_is_prime_ex(bn, checks, ossl_bn_ctx, NULL)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/bn.h:379:1: note: 'BN_is_prime_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_bn.c:1121:13: warning: 'BN_is_prime_fasttest_ex' is deprecated [-Wdeprecated-declarations]
switch (BN_is_prime_fasttest_ex(bn, checks, ossl_bn_ctx, do_trial_division, NULL)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/bn.h:381:1: note: 'BN_is_prime_fasttest_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
compiling stringio.c
linking shared-object rbconfig/sizeof.bundle
4 warnings generated.
compiling constants.c
linking shared-object nkf.bundle
compiling strscan.c
linking shared-object readline.bundle
installing default ripper libraries
compiling ossl_config.c
compiling ossl_digest.c
compiling syslog.c
compiling zlib.c
compiling ossl_engine.c
linking shared-object psych.bundle
linking shared-object stringio.bundle
linking shared-object strscan.bundle
compiling ossl_hmac.c
linking shared-object syslog.bundle
ossl_digest.c:66:14: warning: 'EVP_MD_CTX_md' is deprecated [-Wdeprecated-declarations]
md = EVP_MD_CTX_md(ctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:559:1: note: 'EVP_MD_CTX_md' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_digest.c:179:32: warning: 'EVP_MD_CTX_md' is deprecated [-Wdeprecated-declarations]
if (EVP_DigestInit_ex(ctx, EVP_MD_CTX_md(ctx), NULL) != 1) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:559:1: note: 'EVP_MD_CTX_md' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_digest.c:262:36: warning: 'EVP_MD_CTX_md' is deprecated [-Wdeprecated-declarations]
return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
^
../.././include/ruby/internal/intern/string.h:276:21: note: expanded from macro 'rb_str_new2'
#define rb_str_new2 rb_str_new_cstr
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:559:1: note: 'EVP_MD_CTX_md' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_digest.c:262:36: warning: 'EVP_MD_CTX_md' is deprecated [-Wdeprecated-declarations]
return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
^
../.././include/ruby/internal/intern/string.h:276:21: note: expanded from macro 'rb_str_new2'
#define rb_str_new2 rb_str_new_cstr
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:559:1: note: 'EVP_MD_CTX_md' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
4 warnings generated.
compiling basicsocket.c
ossl_engine.c:72:5: warning: 'ENGINE_free' is deprecated [-Wdeprecated-declarations]
ENGINE_free(engine);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:493:1: note: 'ENGINE_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:100:9: warning: 'ENGINE_load_builtin_engines' is deprecated [-Wdeprecated-declarations]
ENGINE_load_builtin_engines();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:358:1: note: 'ENGINE_load_builtin_engines' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:184:13: warning: 'ENGINE_get_first' is deprecated [-Wdeprecated-declarations]
for(e = ENGINE_get_first(); e; e = ENGINE_get_next(e)){
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:318:1: note: 'ENGINE_get_first' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:184:40: warning: 'ENGINE_get_next' is deprecated [-Wdeprecated-declarations]
for(e = ENGINE_get_first(); e; e = ENGINE_get_next(e)){
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:323:1: note: 'ENGINE_get_next' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_next(ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:189:2: warning: 'ENGINE_up_ref' is deprecated [-Wdeprecated-declarations]
ENGINE_up_ref(e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:494:1: note: 'ENGINE_up_ref' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:217:14: warning: 'ENGINE_by_id' is deprecated [-Wdeprecated-declarations]
if(!(e = ENGINE_by_id(RSTRING_PTR(id))))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:336:1: note: 'ENGINE_by_id' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:221:9: warning: 'ENGINE_init' is deprecated [-Wdeprecated-declarations]
if(!ENGINE_init(e))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:620:1: note: 'ENGINE_init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:223:5: warning: 'ENGINE_ctrl' is deprecated [-Wdeprecated-declarations]
ENGINE_ctrl(e, ENGINE_CTRL_SET_PASSWORD_CALLBACK,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:429:1: note: 'ENGINE_ctrl' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:246:24: warning: 'ENGINE_get_id' is deprecated [-Wdeprecated-declarations]
return rb_str_new2(ENGINE_get_id(e));
^
../.././include/ruby/internal/intern/string.h:276:21: note: expanded from macro 'rb_str_new2'
#define rb_str_new2 rb_str_new_cstr
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:552:1: note: 'ENGINE_get_id' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:246:24: warning: 'ENGINE_get_id' is deprecated [-Wdeprecated-declarations]
return rb_str_new2(ENGINE_get_id(e));
^
../.././include/ruby/internal/intern/string.h:276:21: note: expanded from macro 'rb_str_new2'
#define rb_str_new2 rb_str_new_cstr
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:552:1: note: 'ENGINE_get_id' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:266:24: warning: 'ENGINE_get_name' is deprecated [-Wdeprecated-declarations]
return rb_str_new2(ENGINE_get_name(e));
^
../.././include/ruby/internal/intern/string.h:276:21: note: expanded from macro 'rb_str_new2'
#define rb_str_new2 rb_str_new_cstr
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:553:1: note: 'ENGINE_get_name' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:266:24: warning: 'ENGINE_get_name' is deprecated [-Wdeprecated-declarations]
return rb_str_new2(ENGINE_get_name(e));
^
../.././include/ruby/internal/intern/string.h:276:21: note: expanded from macro 'rb_str_new2'
#define rb_str_new2 rb_str_new_cstr
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:553:1: note: 'ENGINE_get_name' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:283:9: warning: 'ENGINE_finish' is deprecated [-Wdeprecated-declarations]
if(!ENGINE_finish(e)) ossl_raise(eEngineError, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:628:1: note: 'ENGINE_finish' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:314:12: warning: 'ENGINE_get_cipher' is deprecated [-Wdeprecated-declarations]
ciph = ENGINE_get_cipher(e, nid);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:581:1: note: 'ENGINE_get_cipher' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:346:10: warning: 'ENGINE_get_digest' is deprecated [-Wdeprecated-declarations]
md = ENGINE_get_digest(e, nid);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:583:1: note: 'ENGINE_get_digest' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:373:12: warning: 'ENGINE_load_private_key' is deprecated [-Wdeprecated-declarations]
pkey = ENGINE_load_private_key(e, sid, NULL, sdata);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:637:1: note: 'ENGINE_load_private_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:402:12: warning: 'ENGINE_load_public_key' is deprecated [-Wdeprecated-declarations]
pkey = ENGINE_load_public_key(e, sid, NULL, sdata);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:640:1: note: 'ENGINE_load_public_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:431:5: warning: 'ENGINE_set_default' is deprecated [-Wdeprecated-declarations]
ENGINE_set_default(e, f);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:708:1: note: 'ENGINE_set_default' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:453:11: warning: 'ENGINE_ctrl_cmd_string' is deprecated [-Wdeprecated-declarations]
ret = ENGINE_ctrl_cmd_string(e, StringValueCStr(cmd),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:478:1: note: 'ENGINE_ctrl_cmd_string' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:487:17: warning: 'ENGINE_get_cmd_defns' is deprecated [-Wdeprecated-declarations]
if ((defn = ENGINE_get_cmd_defns(e)) != NULL){
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:596:1: note: 'ENGINE_get_cmd_defns' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:513:29: warning: 'ENGINE_get_id' is deprecated [-Wdeprecated-declarations]
rb_obj_class(self), ENGINE_get_id(e), ENGINE_get_name(e));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:552:1: note: 'ENGINE_get_id' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_engine.c:513:47: warning: 'ENGINE_get_name' is deprecated [-Wdeprecated-declarations]
rb_obj_class(self), ENGINE_get_id(e), ENGINE_get_name(e));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/engine.h:553:1: note: 'ENGINE_get_name' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
compiling bubblebabble.c
compiling ossl_kdf.c
compiling md5init.c
22 warnings generated.
compiling socket.c
installing default syslog libraries
compiling md5.c
compiling ipsocket.c
compiling rmd160init.c
linking shared-object digest/bubblebabble.bundle
compiling tcpsocket.c
linking shared-object digest/md5.bundle
ossl_hmac.c:39:5: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations]
HMAC_CTX_free(ctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:57:11: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations]
ctx = HMAC_CTX_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:102:5: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations]
HMAC_Init_ex(ctx, RSTRING_PTR(key), RSTRING_LENINT(key),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:119:10: warning: 'HMAC_CTX_copy' is deprecated [-Wdeprecated-declarations]
if (!HMAC_CTX_copy(ctx1, ctx2))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:49:1: note: 'HMAC_CTX_copy' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:149:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations]
HMAC_Update(ctx, (unsigned char *)RSTRING_PTR(data), RSTRING_LEN(data));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:159:13: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations]
final = HMAC_CTX_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:163:10: warning: 'HMAC_CTX_copy' is deprecated [-Wdeprecated-declarations]
if (!HMAC_CTX_copy(final, ctx)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:49:1: note: 'HMAC_CTX_copy' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:164:2: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations]
HMAC_CTX_free(final);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:168:5: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations]
HMAC_Final(final, buf, buf_len);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:169:5: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations]
HMAC_CTX_free(final);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_hmac.c:248:5: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations]
HMAC_Init_ex(ctx, NULL, 0, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/hmac.h:43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
linking shared-object zlib.bundle
11 warnings generated.
compiling ossl_ns_spki.c
compiling ossl_ocsp.c
compiling rmd160.c
compiling sha1init.c
compiling tcpserver.c
compiling ossl_pkcs12.c
compiling sha2init.c
compiling sockssocket.c
compiling sha1.c
linking shared-object digest/rmd160.bundle
compiling generator.c
compiling udpsocket.c
compiling sha2.c
compiling unixsocket.c
compiling ossl_pkcs7.c
linking shared-object digest/sha1.bundle
compiling ossl_pkey.c
compiling parser.c
compiling ossl_pkey_dh.c
compiling unixserver.c
linking shared-object ripper.bundle
compiling ossl_pkey_dsa.c
installing default sha2 libraries
compiling option.c
linking shared-object digest/sha2.bundle
compiling ossl_pkey_ec.c
compiling ancdata.c
linking shared-object json/ext/generator.bundle
ossl_pkey.c:204:11: warning: 'EVP_PKEY_get0' is deprecated [-Wdeprecated-declarations]
ptr = EVP_PKEY_get0((EVP_PKEY *)pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1337:1: note: 'EVP_PKEY_get0' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey.c:207:2: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(ptr, &n, &e, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey.c:212:2: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
DSA_get0_key(ptr, &pubkey, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:209:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey.c:217:2: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
DH_get0_key(ptr, &pubkey, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:263:1: note: 'DH_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey.c:223:6: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_get0_public_key(ptr))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1081:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
compiling raddrinfo.c
5 warnings generated.
ossl_pkey_dh.c:48:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
compiling ossl_pkey_rsa.c
if (!EVP_PKEY_assign_DH(pkey, dh)) {
^
compiling ifaddr.c
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:511:39: note: expanded from macro 'EVP_PKEY_assign_DH'
# define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:63:25: warning: 'DH_new' is deprecated [-Wdeprecated-declarations]
obj = dh_instance(cDH, DH_new());
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:206:1: note: 'DH_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:93:19: warning: 'DH_generate_parameters_ex' is deprecated [-Wdeprecated-declarations]
gen->result = DH_generate_parameters_ex(gen->dh, gen->size, gen->gen, gen->cb);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:219:1: note: 'DH_generate_parameters_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:102:14: warning: 'DH_new' is deprecated [-Wdeprecated-declarations]
DH *dh = DH_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:206:1: note: 'DH_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:106:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
DH_free(dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:128:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
DH_free(dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:137:10: warning: 'DH_generate_key' is deprecated [-Wdeprecated-declarations]
if (!DH_generate_key(dh)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:230:1: note: 'DH_generate_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:138:9: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
DH_free(dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:170:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
DH_free(dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:213:12: warning: 'DH_new' is deprecated [-Wdeprecated-declarations]
dh = DH_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:206:1: note: 'DH_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:226:7: warning: 'PEM_read_bio_DHparams' is deprecated [-Wdeprecated-declarations]
dh = PEM_read_bio_DHparams(in, NULL, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:473:21: note: 'PEM_read_bio_DHparams' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:229:11: warning: 'DH_new' is deprecated [-Wdeprecated-declarations]
dh = d2i_DHparams_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:181:29: note: expanded from macro 'd2i_DHparams_bio'
ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:206:1: note: 'DH_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:229:11: warning: 'd2i_DHparams' is deprecated [-Wdeprecated-declarations]
dh = d2i_DHparams_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:181:37: note: expanded from macro 'd2i_DHparams_bio'
ASN1_d2i_bio_of(DH, DH_new, d2i_DHparams, bp, x)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:236:41: note: 'd2i_DHparams' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:236:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_DH(pkey, dh)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:511:39: note: expanded from macro 'EVP_PKEY_assign_DH'
# define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:237:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
DH_free(dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:253:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(other, dh_other);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:253:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(other, dh_other);
^~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:255:10: warning: 'DHparams_dup' is deprecated [-Wdeprecated-declarations]
dh = DHparams_dup(dh_other);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:197:37: note: 'DHparams_dup' has been explicitly marked deprecated here
DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:258:5: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
EVP_PKEY_assign_DH(pkey, dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:511:39: note: expanded from macro 'EVP_PKEY_assign_DH'
# define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:260:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
DH_get0_key(dh_other, &pub, &priv);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:263:1: note: 'DH_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:270:2: warning: 'DH_set0_key' is deprecated [-Wdeprecated-declarations]
DH_set0_key(dh, pub2, priv2);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:265:1: note: 'DH_set0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:289:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:289:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:290:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
DH_get0_key(dh, &bn, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:263:1: note: 'DH_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:308:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:308:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:309:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
DH_get0_key(dh, NULL, &bn);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:263:1: note: 'DH_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:312:19: warning: 'DH_get0_engine' is deprecated [-Wdeprecated-declarations]
return (bn || DH_get0_engine(dh)) ? Qtrue : Qfalse;
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:274:1: note: 'DH_get0_engine' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 ENGINE *DH_get0_engine(DH *d);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:335:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:335:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:339:10: warning: 'PEM_write_bio_DHparams' is deprecated [-Wdeprecated-declarations]
if (!PEM_write_bio_DHparams(out, dh)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:473:21: note: 'PEM_write_bio_DHparams' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:365:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:365:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:366:15: warning: 'i2d_DHparams' is deprecated [-Wdeprecated-declarations]
if((len = i2d_DHparams(dh, NULL)) <= 0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:236:41: note: 'i2d_DHparams' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:370:8: warning: 'i2d_DHparams' is deprecated [-Wdeprecated-declarations]
if(i2d_DHparams(dh, &p) < 0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:236:41: note: 'i2d_DHparams' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:392:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:392:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:393:5: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
DH_get0_pqg(dh, &p, &q, &g);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:260:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:394:5: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
DH_get0_key(dh, &pub_key, &priv_key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:263:1: note: 'DH_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:421:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:421:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:425:10: warning: 'DHparams_print' is deprecated [-Wdeprecated-declarations]
if (!DHparams_print(out, dh)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:242:1: note: 'DHparams_print' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DHparams_print(BIO *bp, const DH *x);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:461:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, orig_dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:461:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, orig_dh);
^~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:462:10: warning: 'DHparams_dup' is deprecated [-Wdeprecated-declarations]
dh = DHparams_dup(orig_dh); /* err check perfomed by dh_instance */
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:197:37: note: 'DHparams_dup' has been explicitly marked deprecated here
DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:465:2: warning: 'DH_free' is deprecated [-Wdeprecated-declarations]
DH_free(dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:207:1: note: 'DH_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:486:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:486:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:487:10: warning: 'DH_check' is deprecated [-Wdeprecated-declarations]
if (!DH_check(dh, &codes)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:227:1: note: 'DH_check' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:515:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:515:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:516:10: warning: 'DH_generate_key' is deprecated [-Wdeprecated-declarations]
if (!DH_generate_key(dh))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:230:1: note: 'DH_generate_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:540:5: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
GetDH(self, dh);
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:540:5: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDH(self, dh);
^~~~~~~~~~~~~~~
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:541:5: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
DH_get0_pqg(dh, &dh_p, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:260:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:545:11: warning: 'DH_size' is deprecated [-Wdeprecated-declarations]
len = DH_size(dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:210:1: note: 'DH_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:547:16: warning: 'DH_compute_key' is deprecated [-Wdeprecated-declarations]
if ((len = DH_compute_key((unsigned char *)RSTRING_PTR(str), pub_key, dh)) < 0) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:231:1: note: 'DH_compute_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:131:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:131:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:562:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, &bn, NULL, NULL)) \
^
<scratch space>:127:1: note: expanded from here
DH_get0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:260:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:137:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:137:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:562:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:113:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, &bn, NULL)) \
^
<scratch space>:133:1: note: expanded from here
DH_get0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:260:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:143:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:143:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:562:1: warning: 'DH_get0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, NULL, &bn))
^
<scratch space>:139:1: note: expanded from here
DH_get0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:260:1: note: 'DH_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^
<scratch space>:149:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:562:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dh, DH, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:149:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:562:1: warning: 'DH_set0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:145:7: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
if (!_type##_set0_##_group(obj, bn1, bn2, bn3)) { \
^
<scratch space>:151:1: note: expanded from here
DH_set0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:262:1: note: 'DH_set0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:570:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
^
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:118:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:157:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:570:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:118:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:157:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:570:1: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:119:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
_type##_get0_##_group(obj, &bn, NULL)) \
^
<scratch space>:153:1: note: expanded from here
DH_get0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:263:1: note: 'DH_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:570:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
^
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:120:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:163:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:570:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:120:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:163:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:570:1: warning: 'DH_get0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:121:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
_type##_get0_##_group(obj, NULL, &bn))
^
<scratch space>:159:1: note: expanded from here
DH_get0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:263:1: note: 'DH_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
installing default socket libraries
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:570:1: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
^
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^
./ossl_pkey.h:165:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
Get##_type(self, obj); \
^
<scratch space>:169:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:12: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dh.c:570:1: warning: assigning to 'DH *' (aka 'struct dh_st *') from 'const struct dh_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(dh, DH, key, pub_key, priv_key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:165:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:169:1: note: expanded from here
GetDH
^
ossl_pkey_dh.c:23:10: note: expanded from macro 'GetDH'
(dh) = EVP_PKEY_get0_DH(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dh.c:570:1: warning: 'DH_set0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^
./ossl_pkey.h:173:7: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
if (!_type##_set0_##_group(obj, bn1, bn2)) { \
^
<scratch space>:171:1: note: expanded from here
DH_set0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dh.h:265:1: note: 'DH_set0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
linking shared-object json/ext/parser.bundle
ossl_pkey_dsa.c:30:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
DSA_get0_key(dsa, NULL, &bn);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:209:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:62:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_DSA(pkey, dsa)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:506:41: note: expanded from macro 'EVP_PKEY_assign_DSA'
# define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:77:27: warning: 'DSA_new' is deprecated [-Wdeprecated-declarations]
obj = dsa_instance(cDSA, DSA_new());
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:130:1: note: 'DSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:108:19: warning: 'DSA_generate_parameters_ex' is deprecated [-Wdeprecated-declarations]
gen->result = DSA_generate_parameters_ex(gen->dsa, gen->size, NULL, 0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:172:1: note: 'DSA_generate_parameters_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:118:16: warning: 'DSA_new' is deprecated [-Wdeprecated-declarations]
DSA *dsa = DSA_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:130:1: note: 'DSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:124:2: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations]
DSA_free(dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:132:1: note: 'DSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:147:2: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations]
DSA_free(dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:132:1: note: 'DSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:159:10: warning: 'DSA_generate_key' is deprecated [-Wdeprecated-declarations]
if (!DSA_generate_key(dsa)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:179:1: note: 'DSA_generate_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:160:2: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations]
DSA_free(dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:132:1: note: 'DSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:185:2: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations]
DSA_free(dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:132:1: note: 'DSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:222:15: warning: 'DSA_new' is deprecated [-Wdeprecated-declarations]
dsa = DSA_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:130:1: note: 'DSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:233:8: warning: 'PEM_read_bio_DSAPrivateKey' is deprecated [-Wdeprecated-declarations]
dsa = PEM_read_bio_DSAPrivateKey(in, NULL, ossl_pem_passwd_cb, (void *)pass);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:457:24: note: 'PEM_read_bio_DSAPrivateKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:236:12: warning: 'PEM_read_bio_DSA_PUBKEY' is deprecated [-Wdeprecated-declarations]
dsa = PEM_read_bio_DSA_PUBKEY(in, NULL, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:458:21: note: 'PEM_read_bio_DSA_PUBKEY' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:240:12: warning: 'd2i_DSAPrivateKey_bio' is deprecated [-Wdeprecated-declarations]
dsa = d2i_DSAPrivateKey_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:632:1: note: 'd2i_DSAPrivateKey_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:244:12: warning: 'd2i_DSA_PUBKEY_bio' is deprecated [-Wdeprecated-declarations]
dsa = d2i_DSA_PUBKEY_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:630:1: note: 'd2i_DSA_PUBKEY_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:250:12: warning: 'd2i_DSAPublicKey' is deprecated [-Wdeprecated-declarations]
dsa = PEM_read_bio_DSAPublicKey(in, NULL, NULL, NULL);
^
ossl_pkey_dsa.c:249:17: note: expanded from macro 'PEM_read_bio_DSAPublicKey'
(d2i_of_void *)d2i_DSAPublicKey, PEM_STRING_DSA_PUBLIC, (bp), (void **)(x), (cb), (u))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:153:41: note: 'd2i_DSAPublicKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:259:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_DSA(pkey, dsa)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:506:41: note: expanded from macro 'EVP_PKEY_assign_DSA'
# define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:260:2: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations]
DSA_free(dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:132:1: note: 'DSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:276:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(other, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:276:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(other, dsa);
^~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:compiling ossl_rand.c
11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:278:39: warning: 'i2d_DSAPrivateKey' is deprecated [-Wdeprecated-declarations]
dsa_new = ASN1_dup((i2d_of_void *)i2d_DSAPrivateKey, (d2i_of_void *)d2i_DSAPrivateKey, (char *)dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:155:41: note: 'i2d_DSAPrivateKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:278:73: warning: 'd2i_DSAPrivateKey' is deprecated [-Wdeprecated-declarations]
dsa_new = ASN1_dup((i2d_of_void *)i2d_DSAPrivateKey, (d2i_of_void *)d2i_DSAPrivateKey, (char *)dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:155:41: note: 'd2i_DSAPrivateKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:282:5: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
EVP_PKEY_assign_DSA(pkey, dsa_new);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:506:41: note: expanded from macro 'EVP_PKEY_assign_DSA'
# define EVP_PKEY_assign_DSA(pkey,dsa) EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:300:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:300:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:301:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
DSA_get0_key(dsa, &bn, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:209:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:318:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:318:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:348:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:348:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:358:7: warning: 'PEM_write_bio_DSAPrivateKey' is deprecated [-Wdeprecated-declarations]
if (!PEM_write_bio_DSAPrivateKey(out, dsa, ciph, NULL, 0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:457:24: note: 'PEM_write_bio_DSAPrivateKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:364:7: warning: 'PEM_write_bio_DSA_PUBKEY' is deprecated [-Wdeprecated-declarations]
if (!PEM_write_bio_DSA_PUBKEY(out, dsa)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:458:21: note: 'PEM_write_bio_DSA_PUBKEY' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:390:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:390:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:392:46: warning: 'i2d_DSAPrivateKey' is deprecated [-Wdeprecated-declarations]
i2d_func = (int (*)(DSA *,unsigned char **))i2d_DSAPrivateKey;
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:155:41: note: 'i2d_DSAPrivateKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:394:13: warning: 'i2d_DSA_PUBKEY' is deprecated [-Wdeprecated-declarations]
i2d_func = i2d_DSA_PUBKEY;
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:721:41: note: 'i2d_DSA_PUBKEY' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,DSA, DSA_PUBKEY)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:394:11: warning: incompatible function pointer types assigning to 'int (*)(DSA *, unsigned char **)' (aka 'int (*)(struct dsa_st *, unsigned char **)') from 'int (const DSA *, unsigned char **)' (aka 'int (const struct dsa_st *, unsigned char **)') [-Wincompatible-function-pointer-types]
i2d_func = i2d_DSA_PUBKEY;
^ ~~~~~~~~~~~~~~
ossl_pkey_dsa.c:422:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:422:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:423:5: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
DSA_get0_pqg(dsa, &p, &q, &g);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:206:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:424:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
DSA_get0_key(dsa, &pub_key, &priv_key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:209:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:451:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:451:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:455:10: warning: 'DSA_print' is deprecated [-Wdeprecated-declarations]
if (!DSA_print(out, dsa, 0)) { /* offset = 0 */
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:182:1: note: 'DSA_print' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_print(BIO *bp, const DSA *x, int off);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:492:11: warning: 'i2d_DSAPublicKey' is deprecated [-Wdeprecated-declarations]
dsa = DSAPublicKey_dup(EVP_PKEY_get0_DSA(pkey));
^
ossl_pkey_dsa.c:491:17: note: expanded from macro 'DSAPublicKey_dup'
(i2d_of_void *)i2d_DSAPublicKey, (d2i_of_void *)d2i_DSAPublicKey, (char *)(dsa))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:153:41: note: 'i2d_DSAPublicKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:492:11: warning: 'd2i_DSAPublicKey' is deprecated [-Wdeprecated-declarations]
dsa = DSAPublicKey_dup(EVP_PKEY_get0_DSA(pkey));
^
ossl_pkey_dsa.c:491:50: note: expanded from macro 'DSAPublicKey_dup'
(i2d_of_void *)i2d_DSAPublicKey, (d2i_of_void *)d2i_DSAPublicKey, (char *)(dsa))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:153:41: note: 'd2i_DSAPublicKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:492:28: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
dsa = DSAPublicKey_dup(EVP_PKEY_get0_DSA(pkey));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:496:2: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations]
DSA_free(dsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:132:1: note: 'DSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:529:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:529:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:530:5: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
DSA_get0_pqg(dsa, NULL, &dsa_q, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:206:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:536:25: warning: 'DSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, DSA_size(dsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:135:1: note: 'DSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:536:25: warning: 'DSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, DSA_size(dsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:135:1: note: 'DSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:537:10: warning: 'DSA_sign' is deprecated [-Wdeprecated-declarations]
if (!DSA_sign(0, (unsigned char *)RSTRING_PTR(data), RSTRING_LENINT(data),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:141:1: note: 'DSA_sign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_sign(int type, const unsigned char *dgst,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:572:5: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
GetDSA(self, dsa);
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:572:5: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetDSA(self, dsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:576:11: warning: 'DSA_verify' is deprecated [-Wdeprecated-declarations]
ret = DSA_verify(0, (unsigned char *)RSTRING_PTR(digest), RSTRING_LENINT(digest),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:144:1: note: 'DSA_verify' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_verify(int type, const unsigned char *dgst,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:131:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:131:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:595:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, &bn, NULL, NULL)) \
^
<scratch space>:127:1: note: expanded from here
DSA_get0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:206:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:137:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:137:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:595:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:113:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, &bn, NULL)) \
^
<scratch space>:133:1: note: expanded from here
DSA_get0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:206:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:143:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:143:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:595:1: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, NULL, &bn))
^
<scratch space>:139:1: note: expanded from here
DSA_get0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:206:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^
<scratch space>:149:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:595:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(dsa, DSA, pqg, p, q, g)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:149:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:595:1: warning: 'DSA_set0_pqg' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:145:7: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
if (!_type##_set0_##_group(obj, bn1, bn2, bn3)) { \
^
<scratch space>:151:1: note: expanded from here
DSA_set0_pqg
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:208:1: note: 'DSA_set0_pqg' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:603:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
^
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:118:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:157:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:603:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:118:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:157:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:603:1: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:119:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
_type##_get0_##_group(obj, &bn, NULL)) \
^
<scratch space>:153:1: note: expanded from here
DSA_get0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:209:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:603:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
^
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:120:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:163:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:603:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:120:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:163:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:603:1: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:121:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
_type##_get0_##_group(obj, NULL, &bn))
^
<scratch space>:159:1: note: expanded from here
DSA_get0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:209:1: note: 'DSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:603:1: warning: 'EVP_PKEY_get0_DSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
^
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^
./ossl_pkey.h:165:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
Get##_type(self, obj); \
^
<scratch space>:169:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:13: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1362:1: note: 'EVP_PKEY_get0_DSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_dsa.c:603:1: warning: assigning to 'DSA *' (aka 'struct dsa_st *') from 'const struct dsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(dsa, DSA, key, pub_key, priv_key)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:165:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:169:1: note: expanded from here
GetDSA
^
ossl_pkey_dsa.c:23:11: note: expanded from macro 'GetDSA'
(dsa) = EVP_PKEY_get0_DSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_dsa.c:603:1: warning: 'DSA_set0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^
./ossl_pkey.h:173:7: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
if (!_type##_set0_##_group(obj, bn1, bn2)) { \
^
<scratch space>:171:1: note: expanded from here
DSA_set0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/dsa.h:211:1: note: 'DSA_set0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
78 warnings generated.
compiling ossl_ssl.c
compiling ossl_ssl_session.c
78 warnings generated.
ossl_pkey_ec.c:78:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_EC_KEY(pkey, ec)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:517:9: note: expanded from macro 'EVP_PKEY_assign_EC_KEY'
EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:92:25: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
obj = ec_instance(cEC, EC_KEY_new());
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:987:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:120:13: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
if (!(ec = EC_KEY_new()))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:987:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:123:7: warning: 'EC_KEY_set_group' is deprecated [-Wdeprecated-declarations]
if (!EC_KEY_set_group(ec, group)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1061:1: note: 'EC_KEY_set_group' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:124:6: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
EC_KEY_free(ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1022:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:133:13: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations]
if (!(ec = EC_KEY_new_by_curve_name(nid)))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1017:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:136:2: warning: 'EC_KEY_set_asn1_flag' is deprecated [-Wdeprecated-declarations]
EC_KEY_set_asn1_flag(ec, OPENSSL_EC_NAMED_CURVE);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1106:1: note: 'EC_KEY_set_asn1_flag' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:137:2: warning: 'EC_KEY_set_conv_form' is deprecated [-Wdeprecated-declarations]
EC_KEY_set_conv_form(ec, POINT_CONVERSION_UNCOMPRESSED);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1094:1: note: 'EC_KEY_set_conv_form' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:160:2: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
EC_KEY_free(ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1022:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:164:10: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations]
if (!EC_KEY_generate_key(ec))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1120:1: note: 'EC_KEY_generate_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:194:20: warning: 'EC_KEY_new' is deprecated [-Wdeprecated-declarations]
if (!(ec = EC_KEY_new()))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:987:1: note: 'EC_KEY_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:199:2: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(arg, other_ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:199:2: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(arg, other_ec);
^~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:200:13: warning: 'EC_KEY_dup' is deprecated [-Wdeprecated-declarations]
if (!(ec = EC_KEY_dup(other_ec)))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1035:1: note: 'EC_KEY_dup' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:210:7: warning: 'PEM_read_bio_ECPrivateKey' is deprecated [-Wdeprecated-declarations]
ec = PEM_read_bio_ECPrivateKey(in, NULL, ossl_pem_passwd_cb, (void *)pass);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:466:24: note: 'PEM_read_bio_ECPrivateKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:213:11: warning: 'PEM_read_bio_EC_PUBKEY' is deprecated [-Wdeprecated-declarations]
ec = PEM_read_bio_EC_PUBKEY(in, NULL, ossl_pem_passwd_cb, (void *)pass);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:467:21: note: 'PEM_read_bio_EC_PUBKEY' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:217:11: warning: 'd2i_ECPrivateKey_bio' is deprecated [-Wdeprecated-declarations]
ec = d2i_ECPrivateKey_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:641:1: note: 'd2i_ECPrivateKey_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:221:11: warning: 'd2i_EC_PUBKEY_bio' is deprecated [-Wdeprecated-declarations]
ec = d2i_EC_PUBKEY_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:639:1: note: 'd2i_EC_PUBKEY_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:231:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_EC_KEY(pkey, ec)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:517:9: note: expanded from macro 'EVP_PKEY_assign_EC_KEY'
EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:232:2: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
EC_KEY_free(ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1022:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:248:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(other, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:248:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(other, ec);
^~~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:250:14: warning: 'EC_KEY_dup' is deprecated [-Wdeprecated-declarations]
ec_new = EC_KEY_dup(ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1035:1: note: 'EC_KEY_dup' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_dup(const EC_KEY *src);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:253:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_EC_KEY(pkey, ec_new)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:517:9: note: expanded from macro 'EVP_PKEY_assign_EC_KEY'
EVP_PKEY_assign((pkey), EVP_PKEY_EC, (eckey))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:254:2: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations]
EC_KEY_free(ec_new);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1022:1: note: 'EC_KEY_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:274:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:274:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:275:13: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations]
group = EC_KEY_get0_group(ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1053:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:295:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:295:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:298:9: warning: 'EC_KEY_set_group' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_set_group(ec, group) != 1)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1061:1: note: 'EC_KEY_set_group' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:315:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:315:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:316:15: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
if ((bn = EC_KEY_get0_private_key(ec)) == NULL)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1067:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:333:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:333:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:337:13: warning: 'EC_KEY_set_private_key' is deprecated [-Wdeprecated-declarations]
switch (EC_KEY_set_private_key(ec, bn)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1075:1: note: 'EC_KEY_set_private_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:361:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:361:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:362:18: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
if ((point = EC_KEY_get0_public_key(ec)) == NULL)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1081:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:365:32: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations]
return ec_point_new(point, EC_KEY_get0_group(ec));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1053:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:379:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:379:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:383:13: warning: 'EC_KEY_set_public_key' is deprecated [-Wdeprecated-declarations]
switch (EC_KEY_set_public_key(ec, point)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1089:1: note: 'EC_KEY_set_public_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:407:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.hcompiling ossl_ts.c
:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:407:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:409:12: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
return EC_KEY_get0_public_key(ec) ? Qtrue : Qfalse;
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1081:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:423:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:423:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:425:12: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
return EC_KEY_get0_private_key(ec) ? Qtrue : Qfalse;
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1067:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:437:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:437:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:439:9: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_get0_public_key(ec) == NULL)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1081:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:442:9: warning: 'EC_KEY_check_key' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_check_key(ec) != 1)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1126:1: note: 'EC_KEY_check_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:445:9: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_get0_private_key(ec))
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1067:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:459:17: warning: 'PEM_write_bio_ECPrivateKey' is deprecated [-Wdeprecated-declarations]
i = PEM_write_bio_ECPrivateKey(out, ec, cipher, NULL, 0, ossl_pem_passwd_cb, (void *)pass);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:466:24: note: 'PEM_write_bio_ECPrivateKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:461:17: warning: 'PEM_write_bio_EC_PUBKEY' is deprecated [-Wdeprecated-declarations]
i = PEM_write_bio_EC_PUBKEY(out, ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:467:21: note: 'PEM_write_bio_EC_PUBKEY' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:467:17: warning: 'i2d_ECPrivateKey_bio' is deprecated [-Wdeprecated-declarations]
i = i2d_ECPrivateKey_bio(out, ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:642:1: note: 'i2d_ECPrivateKey_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:469:17: warning: 'i2d_EC_PUBKEY_bio' is deprecated [-Wdeprecated-declarations]
i = i2d_EC_PUBKEY_bio(out, ec);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:640:1: note: 'i2d_EC_PUBKEY_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:528:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:528:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:532:10: warning: 'EC_KEY_print' is deprecated [-Wdeprecated-declarations]
if (!EC_KEY_print(out, ec, 0)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1279:1: note: 'EC_KEY_print' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:559:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:559:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:560:9: warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_generate_key(ec) != 1)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1120:1: note: 'EC_KEY_generate_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:578:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:578:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:579:9: warning: 'EC_KEY_check_key' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_check_key(ec) != 1)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1126:1: note: 'EC_KEY_check_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:598:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:598:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:605:15: warning: 'ECDH_compute_key' is deprecated [-Wdeprecated-declarations]
buf_len = ECDH_compute_key(RSTRING_PTR(str), buf_len, point, ec, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1315:1: note: 'ECDH_compute_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:628:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:628:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
compiling ossl_x509.c
ossl_pkey_ec.c:631:9: warning: 'EC_KEY_get0_private_key' is deprecated [-Wdeprecated-declarations]
if (EC_KEY_get0_private_key(ec) == NULL)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1067:1: note: 'EC_KEY_get0_private_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:634:25: warning: 'ECDSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, ECDSA_size(ec));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1474:1: note: 'ECDSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:634:25: warning: 'ECDSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, ECDSA_size(ec));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1474:1: note: 'ECDSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:635:9: warning: 'ECDSA_sign' is deprecated [-Wdeprecated-declarations]
if (ECDSA_sign(0, (unsigned char *) RSTRING_PTR(data), RSTRING_LENINT(data), (unsigned char *) RSTRING_PTR(str), &buf_len, ec) != 1)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1433:1: note: 'ECDSA_sign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:652:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated [-Wdeprecated-declarations]
GetEC(self, ec);
^
ossl_pkey_ec.c:24:13: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1379:1: note: 'EVP_PKEY_get0_EC_KEY' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:652:5: warning: assigning to 'EC_KEY *' (aka 'struct ec_key_st *') from 'const struct ec_key_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetEC(self, ec);
^~~~~~~~~~~~~~~
ossl_pkey_ec.c:24:11: note: expanded from macro 'GetEC'
(key) = EVP_PKEY_get0_EC_KEY(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_ec.c:656:13: warning: 'ECDSA_verify' is deprecated [-Wdeprecated-declarations]
switch (ECDSA_verify(0, (unsigned char *) RSTRING_PTR(data), RSTRING_LENINT(data), (unsigned char *) RSTRING_PTR(sig), (int)RSTRING_LEN(sig), ec)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:1466:1: note: 'ECDSA_verify' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:673:5: warning: 'EC_GROUP_clear_free' is deprecated [-Wdeprecated-declarations]
EC_GROUP_clear_free(ptr);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:179:1: note: 'EC_GROUP_clear_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:742:26: warning: 'EC_GFp_simple_method' is deprecated [-Wdeprecated-declarations]
method = EC_GFp_simple_method();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:124:1: note: 'EC_GFp_simple_method' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_simple_method(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:744:26: warning: 'EC_GFp_mont_method' is deprecated [-Wdeprecated-declarations]
method = EC_GFp_mont_method();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:129:1: note: 'EC_GFp_mont_method' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_mont_method(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:746:26: warning: 'EC_GFp_nist_method' is deprecated [-Wdeprecated-declarations]
method = EC_GFp_nist_method();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:134:1: note: 'EC_GFp_nist_method' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_nist_method(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:749:26: warning: 'EC_GF2m_simple_method' is deprecated [-Wdeprecated-declarations]
method = EC_GF2m_simple_method();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:161:1: note: 'EC_GF2m_simple_method' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GF2m_simple_method(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:754:30: warning: 'EC_GROUP_new' is deprecated [-Wdeprecated-declarations]
if ((group = EC_GROUP_new(method)) == NULL)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:174:1: note: 'EC_GROUP_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:768:21: warning: 'PEM_read_bio_ECPKParameters' is deprecated [-Wdeprecated-declarations]
group = PEM_read_bio_ECPKParameters(in, NULL, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:465:21: note: 'PEM_read_bio_ECPKParameters' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:1215:13: warning: 'PEM_write_bio_ECPKParameters' is deprecated [-Wdeprecated-declarations]
i = PEM_write_bio_ECPKParameters(out, group);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:465:21: note: 'PEM_write_bio_ECPKParameters' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:1273:10: warning: 'ECPKParameters_print' is deprecated [-Wdeprecated-declarations]
if (!ECPKParameters_print(out, group, 0)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:945:1: note: 'ECPKParameters_print' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:1360:14: warning: 'EC_POINT_bn2point' is deprecated [-Wdeprecated-declarations]
point = EC_POINT_bn2point(group, GetBNPtr(arg2), NULL, ossl_bn_ctx);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:793:1: note: 'EC_POINT_bn2point' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:1487:9: warning: 'EC_POINT_make_affine' is deprecated [-Wdeprecated-declarations]
if (EC_POINT_make_affine(group, point, ossl_bn_ctx) != 1)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:863:1: note: 'EC_POINT_make_affine' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_POINT_make_affine(const EC_GROUP *group,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_ec.c:1665:6: warning: 'EC_POINTs_mul' is deprecated [-Wdeprecated-declarations]
if (EC_POINTs_mul(group, point_result, bn_g, num, points, bignums, ossl_bn_ctx) != 1) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ec.h:878:1: note: 'EC_POINTs_mul' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
compiling ossl_x509attr.c
ossl_pkey_rsa.c:31:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, NULL, &e, &d);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:63:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_RSA(pkey, rsa)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:501:41: note: expanded from macro 'EVP_PKEY_assign_RSA'
# define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:78:27: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
obj = rsa_instance(cRSA, RSA_new());
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:212:1: note: 'RSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:109:19: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations]
gen->result = RSA_generate_key_ex(gen->rsa, gen->size, gen->e, gen->cb);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:271:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:119:16: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
RSA *rsa = RSA_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:212:1: note: 'RSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:124:2: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
RSA_free(rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:133:3: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
RSA_free(rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:158:2: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
RSA_free(rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:193:2: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
RSA_free(rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:230:8: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations]
rsa = RSA_new();
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:212:1: note: 'RSA_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:240:8: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
rsa = PEM_read_bio_RSAPrivateKey(in, NULL, ossl_pem_passwd_cb, (void *)pass);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:451:24: note: 'PEM_read_bio_RSAPrivateKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:243:12: warning: 'PEM_read_bio_RSA_PUBKEY' is deprecated [-Wdeprecated-declarations]
rsa = PEM_read_bio_RSA_PUBKEY(in, NULL, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:453:21: note: 'PEM_read_bio_RSA_PUBKEY' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:247:12: warning: 'd2i_RSAPrivateKey_bio' is deprecated [-Wdeprecated-declarations]
rsa = d2i_RSAPrivateKey_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:621:1: note: 'd2i_RSAPrivateKey_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:251:12: warning: 'd2i_RSA_PUBKEY_bio' is deprecated [-Wdeprecated-declarations]
rsa = d2i_RSA_PUBKEY_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:625:1: note: 'd2i_RSA_PUBKEY_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:255:12: warning: 'PEM_read_bio_RSAPublicKey' is deprecated [-Wdeprecated-declarations]
rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:452:21: note: 'PEM_read_bio_RSAPublicKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:259:12: warning: 'd2i_RSAPublicKey_bio' is deprecated [-Wdeprecated-declarations]
rsa = d2i_RSAPublicKey_bio(in, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:623:1: note: 'd2i_RSAPublicKey_bio' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:266:10: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
if (!EVP_PKEY_assign_RSA(pkey, rsa)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:501:41: note: expanded from macro 'EVP_PKEY_assign_RSA'
# define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:267:2: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
RSA_free(rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:283:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(other, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:283:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(other, rsa);
^~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:285:39: warning: 'i2d_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
rsa_new = ASN1_dup((i2d_of_void *)i2d_RSAPrivateKey, (d2i_of_void *)d2i_RSAPrivateKey, (char *)rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:320:41: note: 'i2d_RSAPrivateKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:285:73: warning: 'd2i_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
rsa_new = ASN1_dup((i2d_of_void *)i2d_RSAPrivateKey, (d2i_of_void *)d2i_RSAPrivateKey, (char *)rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:320:41: note: 'd2i_RSAPrivateKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:289:5: warning: 'EVP_PKEY_assign' is deprecated [-Wdeprecated-declarations]
EVP_PKEY_assign_RSA(pkey, rsa_new);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:501:41: note: expanded from macro 'EVP_PKEY_assign_RSA'
# define EVP_PKEY_assign_RSA(pkey,rsa) EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1335:1: note: 'EVP_PKEY_assign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:306:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:306:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:325:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:325:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:349:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:349:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:360:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, &n, &e, &d);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:361:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
RSA_get0_factors(rsa, &p, &q);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:231:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:362:5: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:236:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:364:7: warning: 'PEM_write_bio_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
if (!PEM_write_bio_RSAPrivateKey(out, rsa, ciph, NULL, 0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:451:24: note: 'PEM_write_bio_RSAPrivateKey' has been explicitly marked deprecated here
DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:370:7: warning: 'PEM_write_bio_RSA_PUBKEY' is deprecated [-Wdeprecated-declarations]
if (!PEM_write_bio_RSA_PUBKEY(out, rsa)) {
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/pem.h:453:21: note: 'PEM_write_bio_RSA_PUBKEY' has been explicitly marked deprecated here
DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:396:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:396:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:397:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, &n, &e, &d);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:398:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
RSA_get0_factors(rsa, &p, &q);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:231:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:399:5: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:236:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:401:13: warning: 'i2d_RSAPrivateKey' is deprecated [-Wdeprecated-declarations]
i2d_func = i2d_RSAPrivateKey;
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:320:41: note: 'i2d_RSAPrivateKey' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:403:53: warning: 'i2d_RSA_PUBKEY' is deprecated [-Wdeprecated-declarations]
i2d_func = (int (*)(const RSA *, unsigned char **))i2d_RSA_PUBKEY;
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/x509.h:717:41: note: 'i2d_RSA_PUBKEY' has been explicitly marked deprecated here
DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:431:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:431:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:432:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, &rsa_n, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:438:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:438:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:439:15: warning: 'RSA_public_encrypt' is deprecated [-Wdeprecated-declarations]
buf_len = RSA_public_encrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:292:1: note: 'RSA_public_encrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:463:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:463:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:464:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, &rsa_n, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:470:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:470:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:471:15: warning: 'RSA_public_decrypt' is deprecated [-Wdeprecated-declarations]
buf_len = RSA_public_decrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:298:1: note: 'RSA_public_decrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:495:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:495:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:496:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, &rsa_n, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:504:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:504:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:505:15: warning: 'RSA_private_encrypt' is deprecated [-Wdeprecated-declarations]
buf_len = RSA_private_encrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:295:1: note: 'RSA_private_encrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:529:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:529:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:530:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, &rsa_n, NULL, NULL);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:538:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:538:25: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations]
str = rb_str_new(0, RSA_size(rsa));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:215:1: note: 'RSA_size' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:539:15: warning: 'RSA_private_decrypt' is deprecated [-Wdeprecated-declarations]
buf_len = RSA_private_decrypt(RSTRING_LENINT(buffer), (unsigned char *)RSTRING_PTR(buffer),
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:301:1: note: 'RSA_private_decrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:755:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:755:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:756:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
RSA_get0_key(rsa, &n, &e, &d);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:757:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
RSA_get0_factors(rsa, &p, &q);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:231:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:758:5: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:236:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:790:5: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
GetRSA(self, rsa);
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:790:5: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
GetRSA(self, rsa);
^~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:794:10: warning: 'RSA_print' is deprecated [-Wdeprecated-declarations]
if (!RSA_print(out, rsa, 0)) { /* offset = 0 */
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:353:1: note: 'RSA_print' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_print(BIO *bp, const RSA *r, int offset);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
compiling ossl_x509cert.c
ossl_pkey_rsa.c:92 warnings generated.
818:11: warning: 'RSAPublicKey_dup' is deprecated [-Wdeprecated-declarations]
rsa = RSAPublicKey_dup(EVP_PKEY_get0_RSA(pkey));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:459:37: note: 'RSAPublicKey_dup' has been explicitly marked deprecated here
DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, RSA, RSAPublicKey)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:818:28: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
rsa = RSAPublicKey_dup(EVP_PKEY_get0_RSA(pkey));
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:821:2: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations]
RSA_free(rsa);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:304:1: note: 'RSA_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:131:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:131:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:862:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, &bn, NULL, NULL)) \
^
<scratch space>:127:1: note: expanded from here
RSA_get0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:137:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:137:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:862:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:113:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, &bn, NULL)) \
^
<scratch space>:133:1: note: expanded from here
RSA_get0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:143:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:143:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:862:1: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, NULL, &bn))
^
<scratch space>:139:1: note: expanded from here
RSA_get0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:228:1: note: 'RSA_get0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^
<scratch space>:149:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:862:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, key, n, e, d)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:149:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:862:1: warning: 'RSA_set0_key' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:145:7: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
if (!_type##_set0_##_group(obj, bn1, bn2, bn3)) { \
^
<scratch space>:151:1: note: expanded from here
RSA_set0_key
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:218:1: note: 'RSA_set0_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:870:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
^
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:118:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:157:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:870:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:118:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:157:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:870:1: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:119:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
_type##_get0_##_group(obj, &bn, NULL)) \
^
<scratch space>:153:1: note: expanded from here
RSA_get0_factors
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:231:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:870:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
^
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:120:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:163:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:870:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:120:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:163:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:870:1: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:215:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_GETTER2(_keytype, _type, _group, a1, a2) \
^
./ossl_pkey.h:121:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER2'
_type##_get0_##_group(obj, NULL, &bn))
^
<scratch space>:159:1: note: expanded from here
RSA_get0_factors
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:231:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:870:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
^
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^
./ossl_pkey.h:165:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
Get##_type(self, obj); \
^
<scratch space>:169:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:870:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF2(rsa, RSA, factors, p, q)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:165:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:169:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:870:1: warning: 'RSA_set0_factors' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:216:2: note: expanded from macro 'OSSL_PKEY_BN_DEF2'
OSSL_PKEY_BN_DEF_SETTER2(_keytype, _type, _group, a1, a2)
^
./ossl_pkey.h:173:7: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER2'
if (!_type##_set0_##_group(obj, bn1, bn2)) { \
^
<scratch space>:171:1: note: expanded from here
RSA_set0_factors
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:219:1: note: 'RSA_set0_factors' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:177:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:110:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a1, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:177:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:880:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:111:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, &bn, NULL, NULL)) \
^
<scratch space>:173:1: note: expanded from here
RSA_get0_crt_params
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:236:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
compiling ossl_x509crl.c
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:183:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:112:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a2, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:183:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:880:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:113:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, &bn, NULL)) \
^
<scratch space>:179:1: note: expanded from here
RSA_get0_crt_params
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:236:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^
<scratch space>:189:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:114:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
OSSL_PKEY_BN_DEF_GETTER0(_keytype, _type, a3, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:102:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER0'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:189:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:880:1: warning: 'RSA_get0_crt_params' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:211:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_GETTER3(_keytype, _type, _group, a1, a2, a3) \
^
./ossl_pkey.h:115:3: note: expanded from macro 'OSSL_PKEY_BN_DEF_GETTER3'
_type##_get0_##_group(obj, NULL, NULL, &bn))
^
<scratch space>:185:1: note: expanded from here
RSA_get0_crt_params
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:236:1: note: 'RSA_get0_crt_params' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^
<scratch space>:195:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:13: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1353:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:880:1: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OSSL_PKEY_BN_DEF3(rsa, RSA, crt_params, dmp1, dmq1, iqmp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ossl_pkey.h:135:2: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
Get##_type(self, obj); \
^~~~~~~~~~~~~~~~~~~~~
<scratch space>:195:1: note: expanded from here
GetRSA
^
ossl_pkey_rsa.c:23:11: note: expanded from macro 'GetRSA'
(rsa) = EVP_PKEY_get0_RSA(_pkey); \
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:880:1: warning: 'RSA_set0_crt_params' is deprecated [-Wdeprecated-declarations]
./ossl_pkey.h:212:2: note: expanded from macro 'OSSL_PKEY_BN_DEF3'
OSSL_PKEY_BN_DEF_SETTER3(_keytype, _type, _group, a1, a2, a3)
^
./ossl_pkey.h:145:7: note: expanded from macro 'OSSL_PKEY_BN_DEF_SETTER3'
if (!_type##_set0_##_group(obj, bn1, bn2, bn3)) { \
^
<scratch space>:197:1: note: expanded from here
RSA_set0_crt_params
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/rsa.h:220:1: note: 'RSA_set0_crt_params' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_pkey_rsa.c:950:5: error: use of undeclared identifier 'RSA_SSLV23_PADDING'
DefRSAConst(SSLV23_PADDING);
^
ossl_pkey_rsa.c:885:58: note: expanded from macro 'DefRSAConst'
#define DefRSAConst(x) rb_define_const(cRSA, #x, INT2NUM(RSA_##x))
^
<scratch space>:233:1: note: expanded from here
RSA_SSLV23_PADDING
^
109 warnings and 1 error generated.
make[2]: *** [ossl_pkey_rsa.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ossl_ssl.c:288:12: warning: 'EVP_PKEY_get0_DH' is deprecated [-Wdeprecated-declarations]
return EVP_PKEY_get0_DH(pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1371:1: note: 'EVP_PKEY_get0_DH' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_ssl.c:288: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]
return EVP_PKEY_get0_DH(pkey);
^~~~~~~~~~~~~~~~~~~~~~
ossl_ssl.c:797:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated [-Wdeprecated-declarations]
SSL_CTX_set_tmp_dh_callback(ctx, ossl_tmp_dh_callback);
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/ssl.h:2263:1: note: 'SSL_CTX_set_tmp_dh_callback' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_ssl.c:1286:9: warning: 'EVP_PKEY_cmp' is deprecated [-Wdeprecated-declarations]
if (EVP_PKEY_cmp(pub_pkey, pkey) != 1)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/evp.h:1425:1: note: 'EVP_PKEY_cmp' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/Cellar/openssl@3/3.2.1/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
ossl_ssl.c:1670: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]
ret = func(ssl);
^
linking shared-object socket.bundle
5 warnings generated.
make[1]: *** [ext/openssl/all] Error 2
make: *** [build-ext] Error 2
+__rvm_make:0> return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment