Conversation
Prime changes are added because Plan 9 ANSI/POSIX C don't satisfy C99 spec, and don't allow to assign signed type into unsigned type implicitly.
|
I think this p-r is ready for review. |
|
I will give it a try to generate mkfiles from Makefile.am. |
|
Great, thanks! |
b4a4427 to
cd79456
Compare
6fb8a3d to
27ad9fc
Compare
|
I added a commit to my pull request. I use usually 9legacy but I think 9front could be same. |
|
Is there any update on this? |
|
I don't have the plan9 environment, and just my personal thoughts from looking at PR, though,
|
|
I have questions about huge *.patch files.
|
ok, I can do this.
I can do this but ... what kind of reasons? |
It's sounds good. I might drop
If it don't include ocsp/ocsp_cl.c calls if (!OCSP_REQUEST_sign(req, key, dgst))Its macro and related objects are defined in openssl/ocsp.h and openssl/ossl_typ.h #define OCSP_REQUEST_sign(o,pkey,md) \
ASN1_item_sign(&OCSP_REQINFO_it, \
o->optionalSignature->signatureAlgorithm,NULL, \
o->optionalSignature->signature,o->tbsRequest,pkey,md)
extern const ASN1_ITEM OCSP_REQINFO_it;
typedef struct ASN1_ITEM_st ASN1_ITEM;
const ASN1_ITEM OCSP_REQINFO_it = { ... }Also struct ASN1_ITEM_st {
...
};Thus, In the files that is added
Yes. Plan 9 C compiler makes an error if it find type mismatch; pointer to signed and pointer to unsigned are different. Unfortunately don't have the option to ignore its behavior. |
|
Hi, @lufia
This is my personal thoughts, and I don't mean to force. |
I understand your situation. |
|
@lufia, I have one question (not forcing) for this PR. Are you thinking about build from tarball (.tar.gz) ? I understand this PR is a first step of porting, and again this is not forcing, just a question. |
|
@kinichiro I've not be noticed. And I think I should add this to tarball. Which file do generate tarball? |
|
@lufia Makefile.am "EXTRA_DIST" is used to include files into tarball. |
|
@lufia would you consider to roll a "release tarball" of your libressl port? I would like some of your work on ports (https://code.9front.org/hg/ports) - especially libressl and curl (there is an old curl port but your port is much nicer). Despite being hosted on 9front it is not 9front-specific and if you want to you could package your own work there (or I could do it for you). Using master.zip from github is annoying since they will change over time, so a "release tarball" would be preferable. |
|
Hi, @staalmannen Today I uploaded the patched sources at https://9p.io/sources/contrib/lufia/ The libressl-portable-20210530.tgz archive can be built in Plan 9 applied many patches that is described in README.plan9 contained in that sources. I checked that: % tar zxf libressl-portable-20210530.tgz
% cd crypto
% mk |
|
What is the situation of this PR? It will be merged soon? |
|
I noticed this was conflicted today. I'm going to fix that. |
I've ported to Plan 9(9legacy).
Plan 9 don't have GNU autotools, and porting it is very hard, so I decide that create mkfiles manually.
Also I created few patches in plan9 directory because Plan 9's ANSI/POSIX C compiler supports only a part of C99 standard.