.
D 2020-05-14T21:30:24.147
J foundin 1.7.21
J icomment Issue\scompiling\swith\sopenSSL1.1\son\sMac:\r\n\r\nIn\sfile\sincluded\sfrom\s./tls.c:84:\r\n./dh_params.h:33:4:\serror:\sincomplete\sdefinition\sof\stype\s'struct\sdh_st'\r\n\s\s\s\s\s\s\s\sdh->p\s=\sBN_bin2bn(dh2048_p,\ssizeof(dh2048_p),\sNULL);\r\n\s\s\s\s\s\s\s\s~~^\r\n/usr/local/opt/openssl@1.1/include/openssl/ossl_typ.h:104:16:\snote:\sforward\sdeclaration\sof\s'struct\sdh_st'\r\ntypedef\sstruct\sdh_st\sDH;\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\nIn\sfile\sincluded\sfrom\s./tls.c:84:\r\n./dh_params.h:34:4:\serror:\sincomplete\sdefinition\sof\stype\s'struct\sdh_st'\r\n\s\s\s\s\s\s\s\sdh->g\s=\sBN_bin2bn(dh2048_g,\ssizeof(dh2048_g),\sNULL);\r\n\s\s\s\s\s\s\s\s~~^\r\n/usr/local/opt/openssl@1.1/include/openssl/ossl_typ.h:104:16:\snote:\sforward\sdeclaration\sof\s'struct\sdh_st'\r\ntypedef\sstruct\sdh_st\sDH;\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\nIn\sfile\sincluded\sfrom\s./tls.c:84:\r\n./dh_params.h:35:9:\serror:\sincomplete\sdefinition\sof\stype\s'struct\sdh_st'\r\n\s\s\s\s\s\s\s\sif\s((dh->p\s==\sNULL)\s||\s(dh->g\s==\sNULL))\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s~~^\r\n/usr/local/opt/openssl@1.1/include/openssl/ossl_typ.h:104:16:\snote:\sforward\sdeclaration\sof\s'struct\sdh_st'\r\ntypedef\sstruct\sdh_st\sDH;\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\nIn\sfile\sincluded\sfrom\s./tls.c:84:\r\n./dh_params.h:35:28:\serror:\sincomplete\sdefinition\sof\stype\s'struct\sdh_st'\r\n\s\s\s\s\s\s\s\sif\s((dh->p\s==\sNULL)\s||\s(dh->g\s==\sNULL))\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s~~^\r\n/usr/local/opt/openssl@1.1/include/openssl/ossl_typ.h:104:16:\snote:\sforward\sdeclaration\sof\s'struct\sdh_st'\r\ntypedef\sstruct\sdh_st\sDH;\r\n\r\n\r\nFixed\sby\supdating\sthe\sdh_params.h\sto\suse\sthe\sgetter/setter\smethods\s(used\sDH_set0_pqg\sinstead\sof\sdh->p\sand\sdh->g):\r\n\r\n\tif\s((dh\s=\sDH_new())\s==\sNULL)\sreturn(NULL);\r\n\tDH_set0_pqg(dh,\sBN_bin2bn(dh2048_p,\ssizeof(dh2048_p),\sNULL),\sNULL,\sBN_bin2bn(dh2048_g,\ssizeof(dh2048_g),\sNULL));\r\n\tif\s((DH_get0_p(dh)\s==\sNULL)\s||\s(DH_get0_g(dh)\s==\sNULL))\r\n\t\t{\sDH_free(dh);\sreturn(NULL);\s}
J login betsalel
J mimetype text/x-fossil-plain
J private_contact e6943a3a78443df59def0c1273b30a3c866e4484
J severity Minor
J status Open
J title Issue\swith\sOpenSSL1.1\sand\sdh_param\saccess
J type Build\sProblem
K 034c8d2587c3810d268e84a15d2a3e187e54b452
U betsalel
Z e32757543a397255a704f322d9160837