AminetAminet
Search:
84706 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/lib/ixamissl-0.1.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Use AmiSSL instead of static OpenSSL
Author:megacz usa com
Uploader:megacz usa com
Type:dev/lib
Version:0.1
Requires:porter & compiler
Architecture:generic; m68k-amigaos
Date:2010-12-06
Download:http://aminet.net/dev/lib/ixamissl-0.1.lha - View contents
Readme:http://aminet.net/dev/lib/ixamissl-0.1.readme
Downloads:5877

----==================================================================----
THIS IS VERY SPECIAL AMINET UPLOAD SINCE SOME FILES DISAPPEARED FROM BTTR
AFTER THE DISK ARRAY CRASH...
----==================================================================----

ixamissl-0.1
-------------

---

 This example demonstrates how to use already initialised base of
 'bsdsocket.library' in 'ixemul' and resolve real socket, so that
 'AmiSSL' can be fully operational without inlining or gluing to
 TCP/IP stack directly. This has big advantages, cuz you do not
 need to perform hardcore hacking on the program to make it work,
 plus you will be as close to thread-safe model as possible thru
 'ixemul' + HScM'ed(Hard Syscall Mapping) 'pthreads'. 

 Please note 'AmiSSL' itself is not thread-safe! Functions like
 'SSL_write()' or 'SSL_read()' wont allow contexts to be switched,
 however you can improvise and after each call enforce it with
 'pthread_switch_me()' - see bonus dir. in 'pthreads' package -.

 Important! Dont call 'CloseLibrary(SocketBase)' !

 Also important! Always setup your own CTRL_C handler when using
 'AmiSSL', cuz when you quit unexpectedly while it is initialised
 and some callback or other crap is being processed then your
 Miggy might get pranoid and commit suicide, due no code space.
 So, if you want to quit, then remeber to clean up first.

 And some remark. Using 'AmiSSL' from under the 'ixlibrary' gives
 you the ability to interrupt the process anytime you like without
 the need of shielding it first with 'signal()', its because 
 'ixlibrary' takes care of init and cleanup - study this package
 more closely to fully understand.

 And yet a warning! Initialisation from under the 'ixlibrary' with
 'ixemul_errno' clobbers the 'errno' of network functions like:
 'connect()' or accept(), i think that few others too. It will be
 always 0, no matter if function failed or succeded! To solve that
 problem define bases only and initialise in the process.

 SSL test stuff ripped from 'https.c' example file that is a part
 of 'AmiSSL'.

---
megacz


Contents of dev/lib/ixamissl-0.1.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  158     296  53.4% -lh5- fe68 Sep 27  2009 ixamissl-0.1/a2ixlibrary.data
[generic]                   72      86  83.7% -lh5- ce1c Sep 27  2009 ixamissl-0.1/a2ixlibrary.data.in
[generic]                  448    2032  22.0% -lh5- 8743 Apr 12  2009 ixamissl-0.1/amissl-include/amissl/amissl.h
[generic]                  338     847  39.9% -lh5- e96d Apr 12  2009 ixamissl-0.1/amissl-include/amissl/tags.h
[generic]                  169     333  50.8% -lh5- c8f9 Apr 12  2009 ixamissl-0.1/amissl-include/clib/amisslmaster_protos.h
[generic]                  260     571  45.5% -lh5- 46c2 Apr 12  2009 ixamissl-0.1/amissl-include/clib/amissl_protos.h
[generic]                55582  384823  14.4% -lh5- ecdc May 17  2009 ixamissl-0.1/amissl-include/inline/amissl.h
[generic]                  340     993  34.2% -lh5- 7a8b Apr 12  2009 ixamissl-0.1/amissl-include/inline/amisslmaster.h
[generic]                28294  196336  14.4% -lh5- de35 Apr 12  2009 ixamissl-0.1/amissl-include/inline4/amissl.h
[generic]                  365     863  42.3% -lh5- c335 Apr 12  2009 ixamissl-0.1/amissl-include/inline4/amisslmaster.h
[generic]                30311  260344  11.6% -lh5- c5b0 Apr 12  2009 ixamissl-0.1/amissl-include/interfaces/amissl.h
[generic]                  365    1096  33.3% -lh5- ca6c Apr 12  2009 ixamissl-0.1/amissl-include/interfaces/amisslmaster.h
[generic]                  202     695  29.1% -lh5- abb1 Apr 12  2009 ixamissl-0.1/amissl-include/libraries/amissl.h
[generic]                  137     312  43.9% -lh5- c1ef Apr 12  2009 ixamissl-0.1/amissl-include/libraries/amisslmaster.h
[generic]                 1703    4932  34.5% -lh5- d1c7 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/aes.h
[generic]                10777   40619  26.5% -lh5- e8f9 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/asn1.h
[generic]                 7199   27136  26.5% -lh5- 3f3a Apr 12  2009 ixamissl-0.1/amissl-include/openssl/asn1t.h
[generic]                 4057   18461  22.0% -lh5- cd4b Apr 12  2009 ixamissl-0.1/amissl-include/openssl/asn1_mac.h
[generic]                 8633   28378  30.4% -lh5- 92fc Apr 12  2009 ixamissl-0.1/amissl-include/openssl/bio.h
[generic]                 2188    5252  41.7% -lh5- 9c4d Apr 12  2009 ixamissl-0.1/amissl-include/openssl/blowfish.h
[generic]                 6292   20473  30.7% -lh5- 8513 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/bn.h
[generic]                 1977    4307  45.9% -lh5- 05a2 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/buffer.h
[generic]                 1911    4498  42.5% -lh5- 019f Apr 12  2009 ixamissl-0.1/amissl-include/openssl/cast.h
[generic]                  607    1345  45.1% -lh5- 1a3e Apr 12  2009 ixamissl-0.1/amissl-include/openssl/comp.h
[generic]                 3322    9516  34.9% -lh5- 9816 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/conf.h
[generic]                 1795    4158  43.2% -lh5- abef Apr 12  2009 ixamissl-0.1/amissl-include/openssl/conf_api.h
[generic]                 6255   20088  31.1% -lh5- 2de6 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/crypto.h
[generic]                 3382   10796  31.3% -lh5- ccf4 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/des.h
[generic]                 4237   18299  23.2% -lh5- 972d Apr 12  2009 ixamissl-0.1/amissl-include/openssl/des_old.h
[generic]                 2982    7338  40.6% -lh5- a47c Apr 12  2009 ixamissl-0.1/amissl-include/openssl/dh.h
[generic]                 3595    9293  38.7% -lh5- 2711 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/dsa.h
[generic]                 5062   13949  36.3% -lh5- 9918 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/dso.h
[generic]                  276     618  44.7% -lh5- adde Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ebcdic.h
[generic]                 3022    9734  31.0% -lh5- 4ae4 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ec.h
[generic]                11523   35405  32.5% -lh5- ee79 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/engine.h
[generic]                 3931   12223  32.2% -lh5- b35a Apr 12  2009 ixamissl-0.1/amissl-include/openssl/err.h
[generic]                 8818   33469  26.3% -lh5- 199f Apr 12  2009 ixamissl-0.1/amissl-include/openssl/evp.h
[generic]                 3103    9927  31.3% -lh5- 05a6 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/e_os2.h
[generic]                 1761    4646  37.9% -lh5- 173a Apr 12  2009 ixamissl-0.1/amissl-include/openssl/fips.h
[generic]                 1311    2956  44.4% -lh5- bf83 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/fips_rand.h
[generic]                 1936    4436  43.6% -lh5- f858 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/hmac.h
[generic]                 1902    4535  41.9% -lh5- 2e28 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/idea.h
[generic]                 2642    7714  34.2% -lh5- d53b Apr 12  2009 ixamissl-0.1/amissl-include/openssl/krb5_asn.h
[generic]                 2357    5927  39.8% -lh5- 8bd9 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/kssl.h
[generic]                 2655    7528  35.3% -lh5- d687 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/lhash.h
[generic]                 1827    4005  45.6% -lh5- 7f2d Apr 12  2009 ixamissl-0.1/amissl-include/openssl/md2.h
[generic]                 2124    4785  44.4% -lh5- f389 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/md4.h
[generic]                 2125    4785  44.4% -lh5- f0b7 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/md5.h
[generic]                 1836    3999  45.9% -lh5- 925c Apr 12  2009 ixamissl-0.1/amissl-include/openssl/mdc2.h
[generic]                 8776   33250  26.4% -lh5- 6c59 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/objects.h
[generic]                19100   97520  19.6% -lh5- b357 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/obj_mac.h
[generic]                 6737   23908  28.2% -lh5- 6de1 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ocsp.h
[generic]                  311    1155  26.9% -lh5- 2d63 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/opensslconf.h
[generic]                 1683    3830  43.9% -lh5- 851c Apr 12  2009 ixamissl-0.1/amissl-include/openssl/opensslv.h
[generic]                 1727    4989  34.6% -lh5- 4d38 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ossl_typ.h
[generic]                 5823   24762  23.5% -lh5- 8111 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/pem.h
[generic]                 1281    2941  43.6% -lh5- 1ec2 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/pem2.h
[generic]                 3737   12224  30.6% -lh5- 9371 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/pkcs12.h
[generic]                 4858   15871  30.6% -lh5- 8bf5 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/pkcs7.h
[generic]                 2406    5794  41.5% -lh5- 2900 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/rand.h
[generic]                 1899    4476  42.4% -lh5- 9166 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/rc2.h
[generic]                 1854    4026  46.1% -lh5- c69e Apr 12  2009 ixamissl-0.1/amissl-include/openssl/rc4.h
[generic]                 2062    4860  42.4% -lh5- 2524 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/rc5.h
[generic]                 1926    4418  43.6% -lh5- 95bc Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ripemd.h
[generic]                 4646   14164  32.8% -lh5- 2bb0 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/rsa.h
[generic]                10865  105488  10.3% -lh5- 8a52 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/safestack.h
[generic]                 2118    5155  41.1% -lh5- c8aa Apr 12  2009 ixamissl-0.1/amissl-include/openssl/sha.h
[generic]                20052   75368  26.6% -lh5- 6759 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ssl.h
[generic]                 3370   10794  31.2% -lh5- 0e38 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ssl2.h
[generic]                 1711    3822  44.8% -lh5- e67d Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ssl23.h
[generic]                 5710   21127  27.0% -lh5- 7fe9 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ssl3.h
[generic]                 1935    4458  43.4% -lh5- c31a Apr 12  2009 ixamissl-0.1/amissl-include/openssl/stack.h
[generic]                 3160   13409  23.6% -lh5- e1d8 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/symhacks.h
[generic]                 2988    9219  32.4% -lh5- 8b56 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/tls1.h
[generic]                 1687    3630  46.5% -lh5- c45b Apr 12  2009 ixamissl-0.1/amissl-include/openssl/tmdiff.h
[generic]                 1949    4331  45.0% -lh5- fb4c Apr 12  2009 ixamissl-0.1/amissl-include/openssl/txt_db.h
[generic]                 6126   16970  36.1% -lh5- a326 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ui.h
[generic]                 1503    3517  42.7% -lh5- a7c0 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/ui_compat.h
[generic]                11217   44974  24.9% -lh5- 69bd Apr 12  2009 ixamissl-0.1/amissl-include/openssl/x509.h
[generic]                 6521   23201  28.1% -lh5- c46f Apr 12  2009 ixamissl-0.1/amissl-include/openssl/x509v3.h
[generic]                 5267   16672  31.6% -lh5- faf2 Apr 12  2009 ixamissl-0.1/amissl-include/openssl/x509_vfy.h
[generic]                  149     398  37.4% -lh5- 47f5 Apr 12  2009 ixamissl-0.1/amissl-include/pragmas/amisslmaster_pragmas.h
[generic]                21963  139639  15.7% -lh5- 858d Apr 12  2009 ixamissl-0.1/amissl-include/pragmas/amissl_pragmas.h
[generic]                  384    1297  29.6% -lh5- 31d0 Apr 12  2009 ixamissl-0.1/amissl-include/proto/amissl.h
[generic]                  385    1347  28.6% -lh5- b34f Apr 12  2009 ixamissl-0.1/amissl-include/proto/amisslmaster.h
[generic]                  503    1269  39.6% -lh5- 3f81 Sep 26  2009 ixamissl-0.1/amisslinit.c
[generic]                  469     833  56.3% -lh5- 7183 Sep 27  2009 ixamissl-0.1/amisslinit.o
[generic]                  469     765  61.3% -lh5- ca15 Sep 27  2009 ixamissl-0.1/amisslinit.r32o
[generic]                  497     819  60.7% -lh5- a76e Sep 27  2009 ixamissl-0.1/amisslinit.ra32o
[generic]                  488     787  62.0% -lh5- f0d1 Sep 27  2009 ixamissl-0.1/amisslinit.rao
[generic]                  467     733  63.7% -lh5- af97 Sep 27  2009 ixamissl-0.1/amisslinit.ro
[generic]                 4521    8972  50.4% -lh5- d7bf Sep 27  2009 ixamissl-0.1/amissltest
[generic]                 3438   11050  31.1% -lh5- 44dc Sep 27  2009 ixamissl-0.1/amissltest.c
[generic]                 1280    2493  51.3% -lh5- 8a4f Sep 27  2009 ixamissl-0.1/amissltest.oo
[generic]                 3345    7024  47.6% -lh5- fa5c Sep 27  2009 ixamissl-0.1/amissltestix
[generic]                  277     597  46.4% -lh5- 36c8 Sep 26  2009 ixamissl-0.1/include/asiheader.h
[generic]                  807    3626  22.3% -lh5- 51b8 Sep 22  2009 ixamissl-0.1/include/fixamissl.h
[generic]                  753    1520  49.5% -lh5- d5df Sep 27  2009 ixamissl-0.1/lib/libamisslinit.a
[generic]                  754    1412  53.4% -lh5- 9fa9 Sep 27  2009 ixamissl-0.1/lib/libb/libamisslinit.a
[generic]                  753    1452  51.9% -lh5- 23c8 Sep 27  2009 ixamissl-0.1/lib/libb32/libm020/libamisslinit.a
[generic]                  854    1708  50.0% -lh5- 67d1 Sep 27  2009 ixamissl-0.1/lib/libra32amisslinit.a
[generic]                  812    1578  51.5% -lh5- 1a30 Sep 27  2009 ixamissl-0.1/lib/libraamisslinit.a
[generic]                 1981    4156  47.7% -lh5- f66a Sep 27  2009 ixamissl-0.1/libiastest.a
[generic]                 2599    4220  61.6% -lh5- 9269 Sep 27  2009 ixamissl-0.1/libiastest.ixlibrary
[generic]                 7173   17560  40.8% -lh5- ec34 Sep 27  2009 ixamissl-0.1/libiastest_ixlibrary.a
[generic]                 1424    2878  49.5% -lh5- fe9d Sep 27  2009 ixamissl-0.1/libshowbug_bad.a
[generic]                 2004    3064  65.4% -lh5- 8c20 Sep 27  2009 ixamissl-0.1/libshowbug_bad.ixlibrary
[generic]                 7184   17612  40.8% -lh5- eca8 Sep 27  2009 ixamissl-0.1/libshowbug_bad_ixlibrary.a
[generic]                 1478    3078  48.0% -lh5- e000 Sep 27  2009 ixamissl-0.1/libshowbug_good.a
[generic]                 2028    3108  65.3% -lh5- 188e Sep 27  2009 ixamissl-0.1/libshowbug_good.ixlibrary
[generic]                 7191   17626  40.8% -lh5- f3f2 Sep 27  2009 ixamissl-0.1/libshowbug_good_ixlibrary.a
[generic]                  934    3748  24.9% -lh5- 90b3 Sep 27  2009 ixamissl-0.1/Makefile
[generic]                  744    1842  40.4% -lh5- abc7 Sep 22  2009 ixamissl-0.1/natsocket.c
[generic]                  249     375  66.4% -lh5- 9faa Sep 27  2009 ixamissl-0.1/natsocket.o
[generic]                  248     375  66.1% -lh5- 9000 Sep 27  2009 ixamissl-0.1/natsocket.r32o
[generic]                  298     500  59.6% -lh5- 41e6 Sep 27  2009 ixamissl-0.1/natsocket.ra32o
[generic]                  296     480  61.7% -lh5- b659 Sep 27  2009 ixamissl-0.1/natsocket.rao
[generic]                  249     367  67.8% -lh5- f94e Sep 27  2009 ixamissl-0.1/natsocket.ro
[generic]                 1050    2423  43.3% -lh5- 326e Sep 27  2009 ixamissl-0.1/showbug.c
[generic]                  694    1215  57.1% -lh5- 9856 Sep 27  2009 ixamissl-0.1/showbug.oo
[generic]                  746    1331  56.0% -lh5- f0ac Sep 27  2009 ixamissl-0.1/showbug.ooo
[generic]                 3350    7080  47.3% -lh5- fc71 Sep 27  2009 ixamissl-0.1/showbug_bad
[generic]                 3892    8024  48.5% -lh5- a446 Sep 27  2009 ixamissl-0.1/showbug_good
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total       123 files  490349 2165861  22.6%            Dec  6 20:25

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>