Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users



(1) 2 3 »


AmiSSL

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4018
Offline
Anyone interested in trying to compile this for AROS?

https://github.com/jens-maus/amissl/releases

We could use this for Odyssey right?

Posted on: 5/29 3:38
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2004/4/7 4:26
Group:
Member
Posts: 4433
Offline
Quote:

nikolaos wrote:
Anyone interested in trying to compile this for AROS?

https://github.com/jens-maus/amissl/releases

We could use this for Odyssey right?


And not only! We'd need it also for further developments of the cloud drives (gdrive, dropbox, etc) driver.

Posted on: 5/29 8:34
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1231
Offline
we are currently using openssl 1.0.1. might be worth a look.


edit:
to be more precise, it seems included openssl doesnt get patched itself. rater than using attached source we could update mmakefile kalamtee delivered to our openssl port to fetch later or current source.

one has to look at our diff, what it contains.

amissl source might allow us to make shared library, as it mostly contains glue code as it seems. the question is, is it necessary and should we rely on it, making aros shaed library, as aros has its own mechanisms to build shared libs. so this demands closer look and familiarizing itself with both sources. it isnt just configure/make. it needs to be ported.

Posted on: 5/29 9:35

Edited by wawa on 2018/5/29 12:53:52
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2017/9/11 14:28
From Basel
Group:
Member
Posts: 12
Offline
Hi all,

I'm trying to recompile openssl 1.1.0h on AROS ABI_V1. I updated the mmakefile from AROS contrib and added some fix. Once it works I'd like to release mmakefile and patch as it was done for openssl-1.0.1t.

Currently I generated libcrypto.a and libssl.a.
At the moment I'm struggling to link openssl binary executable:

root@ubuntu-s-1vcpu-1gb-lon1-01:~/linux-i386/bin/linux-i386/gen/contrib/development/libs/openssl/openssl-1.1.0h# i386-aros-gcc -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSLDIR="/usr/local/ssl" -DENGINESDIR="/usr/local/lib/engines-1.1" -DBN_DEBUG -DREF_DEBUG -DCONF_DEBUG -DBN_CTX_DEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wmissing-prototypes -Wmissing-declarations -DOPENSSL_SYS_AROS=1 -D__AROS__=1 -D__aros__=1 -DOPENSSL_NO_SECURE_MEMORY=1 -o apps/openssl apps/app_rand.o apps/apps.o apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o apps/openssl.o apps/opt.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o apps/rsa.o apps/rsautl.o apps/s_cb.o apps/s_client.o apps/s_server.o apps/s_socket.o apps/s_time.o apps/sess_id.o apps/smime.o apps/speed.o apps/spkac.o apps/srp.o apps/ts.o apps/verify.o apps/version.o apps/x509.o -L. libssl.a -L. libcrypto.a
There are undefined symbols in 'apps/openssl':
U freeaddrinfo /root/linux-i386/bin/linux-i386/gen/contrib/development/libs/openssl/openssl-1.1.0h/crypto/bio/b_addr.c:437
U gai_strerror /root/linux-i386/bin/linux-i386/gen/contrib/development/libs/openssl/openssl-1.1.0h/crypto/bio/b_addr.c:227
U getaddrinfo /root/linux-i386/bin/linux-i386/gen/contrib/development/libs/openssl/openssl-1.1.0h/crypto/bio/b_addr.c:693
U getnameinfo /root/linux-i386/bin/linux-i386/gen/contrib/development/libs/openssl/openssl-1.1.0h/crypto/bio/b_addr.c:215

Do I need to link some other libraries or these functions are just not supported in AROS? I do not see them in autodocs documentation...

Posted on: 6/4 15:09
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4018
Offline
Nikolas: Thank U bro. Realy appreciated :)

Posted on: 6/4 15:33
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1231
Offline
@nikolas

at least i see implementations in AROS/workbench/network/stacks/AROSTCP/bsdsocket/api/getaddrinfo.c
except for getnameinfo

there isnt any link lib though generated with this content.

edit: getnameinfo as well as the others is in

workbench/network/stacks/AROSTCP/bsdsocket/api/miami_api.c

marked as not implemented.

Posted on: 6/4 17:15
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1513
Offline
You won't find them in bsdsocket.library, but you can use these:
https://github.com/BSzili/aros-stuff/tree/master/psockets

Posted on: 6/5 11:26
_________________
My AROS&MorphOS ports
Arguments that explain everything... explain nothing.
Transfer the post to other applications Transfer


No Account
Re: AmiSSL
Guest_No Account
Quote:

BSzili wrote:
You won't find them in bsdsocket.library, but you can use these:
https://github.com/BSzili/aros-stuff/tree/master/psockets


They are supposed to be exposed via the Miami library on AROS (and amigaos I guess, which it is based on) - and "should" get implemented there, not in another linklib.

Posted on: 6/5 11:41
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2017/9/11 14:28
From Basel
Group:
Member
Posts: 12
Offline
Hi all,

Thanks for the advices. I was able to build it using one flag that force OpenSSL to use his own implementation of these functions. Now I need to test it and to fix the Configure script to avoid some manual change I did on Makefile.

I also had to remove some warnings. I don't know if something was broken by that. I'll ask for help if see strange issues.

As of now I can see output as in the below screenshot :)

Attach file:



png  ArosOpenSSL.png (48.58 KB)
8033_5b170daa56982.png 800X637 px

Posted on: 6/5 15:24
Transfer the post to other applications Transfer


Re: AmiSSL

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4018
Offline
Whow :o
Fantastic news.
Maybe Wawa can build odyssey web browser and update SSL with your build.

Thank you for the work on this :)

Posted on: 6/5 22:53
_________________
www.aspireos.com
Transfer the post to other applications Transfer



(1) 2 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4433
2 magorium
magorium
4095
3 nikolaos
nikolaos
4018
4 phoenixkonsole
phoenixkonsole
3928
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2796
7 mazze
mazze
2221
8 clusteruk
clusteruk
2112
9 damocles
damocles
1789
10 BSzili
BSzili
1513
© 2004-2018 AROS Exec