[MacPorts] #72186: unknown type name 'RSA' and call to undeclared function 'RSA_get0_key';

MacPorts noreply at macports.org
Thu Mar 13 05:37:57 UTC 2025


#72186: unknown type name 'RSA' and call to undeclared function 'RSA_get0_key';
----------------------+-----------------------
 Reporter:  kwolcott  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  cfengine3
----------------------+-----------------------
 {{{
 :info:build In file included from hash.c:33:
 :info:build ./hash.h:64:28: error: unknown type name 'RSA'
 :info:build    64 | Hash *HashNewFromKey(const RSA *rsa, HashMethod
 method);
 :info:build       |                            ^
 :info:build ./hash.h:163:23: error: unknown type name 'RSA'
 :info:build   163 | void HashPubKey(const RSA *key, unsigned char
 digest[EVP_MAX_MD_SIZE + 1], HashMethod type);
 :info:build       |                       ^
 :info:build hash.c:214:28: error: unknown type name 'RSA'
 :info:build   214 | Hash *HashNewFromKey(const RSA *rsa, HashMethod
 method)
 :info:build       |                            ^
 :info:build hash.c:226:5: error: call to undeclared function
 'RSA_get0_key'; ISO C99 and later do not support implicit function
 declarations [-Wimplicit-function-declaration]
 :info:build   226 |     RSA_get0_key(rsa, &n, &e, NULL);
 :info:build       |     ^
 :info:build hash.c:531:11: error: unknown type name 'RSA'
 :info:build   531 |     const RSA *const key,
 :info:build       |           ^
 :info:build hash.c:567:9: error: call to undeclared function
 'RSA_get0_key'; ISO C99 and later do not support implicit function
 declarations [-Wimplicit-function-declaration]
 :info:build   567 |         RSA_get0_key(key, &n, &e, NULL);
 :info:build       |         ^
 :info:build 1 warning and 6 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72186>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list