Re: libressl symbols

2017-01-03 Thread Peter Hessler
After discussion from jsing and beck, this is wrong.  I've fixed my
issue in the net/py-cryptography port instead.


On 2017 Jan 02 (Mon) at 17:06:46 +0100 (+0100), Reyk Floeter wrote:
:Hi,
:
:the function prototypes have been moved from he header to the .c file - you 
will have to revert this change as well.
:
:+1 from me for exposing the API - I recently also ran into it but didn't speak 
up because my use case was probably not important enough.
:
:Reyk
:
:
:> Am 02.01.2017 um 16:29 schrieb Peter Hessler :
:> 
:> Looks like when libcrypto was convered to use a Symbol map, some
:> functions were not included.
:> 
:> This change lets py-openssl be loaded by python processes.
:> 
:> I did not include the minor version bump, as there might be more issues.
:> 
:> 
:> 
:> Index: lib/libcrypto/Symbols.list
:> ===
:> RCS file: /cvs/src/lib/libcrypto/Symbols.list,v
:> retrieving revision 1.1
:> diff -u -p -u -p -r1.1 Symbols.list
:> --- lib/libcrypto/Symbols.list21 Dec 2016 15:49:29 -1.1
:> +++ lib/libcrypto/Symbols.list2 Jan 2017 15:17:02 -
:> @@ -2805,6 +2805,8 @@ X509_VERIFY_PARAM_inherit
:> X509_VERIFY_PARAM_lookup
:> X509_VERIFY_PARAM_new
:> X509_VERIFY_PARAM_set1
:> +X509_VERIFY_PARAM_set1_email
:> +X509_VERIFY_PARAM_set1_ip
:> X509_VERIFY_PARAM_set1_name
:> X509_VERIFY_PARAM_set1_policies
:> X509_VERIFY_PARAM_set_depth
:> 
:> 
:> -- 
:> Reality is just a convenient measure of complexity.
:>-- Alvy Ray Smith
:> 
:

-- 
Death to all fanatics!



Re: libressl symbols

2017-01-02 Thread Reyk Floeter
Hi,

the function prototypes have been moved from he header to the .c file - you 
will have to revert this change as well.

+1 from me for exposing the API - I recently also ran into it but didn't speak 
up because my use case was probably not important enough.

Reyk


> Am 02.01.2017 um 16:29 schrieb Peter Hessler :
> 
> Looks like when libcrypto was convered to use a Symbol map, some
> functions were not included.
> 
> This change lets py-openssl be loaded by python processes.
> 
> I did not include the minor version bump, as there might be more issues.
> 
> 
> 
> Index: lib/libcrypto/Symbols.list
> ===
> RCS file: /cvs/src/lib/libcrypto/Symbols.list,v
> retrieving revision 1.1
> diff -u -p -u -p -r1.1 Symbols.list
> --- lib/libcrypto/Symbols.list21 Dec 2016 15:49:29 -1.1
> +++ lib/libcrypto/Symbols.list2 Jan 2017 15:17:02 -
> @@ -2805,6 +2805,8 @@ X509_VERIFY_PARAM_inherit
> X509_VERIFY_PARAM_lookup
> X509_VERIFY_PARAM_new
> X509_VERIFY_PARAM_set1
> +X509_VERIFY_PARAM_set1_email
> +X509_VERIFY_PARAM_set1_ip
> X509_VERIFY_PARAM_set1_name
> X509_VERIFY_PARAM_set1_policies
> X509_VERIFY_PARAM_set_depth
> 
> 
> -- 
> Reality is just a convenient measure of complexity.
>-- Alvy Ray Smith
> 



libressl symbols

2017-01-02 Thread Peter Hessler
Looks like when libcrypto was convered to use a Symbol map, some
functions were not included.

This change lets py-openssl be loaded by python processes.

I did not include the minor version bump, as there might be more issues.



Index: lib/libcrypto/Symbols.list
===
RCS file: /cvs/src/lib/libcrypto/Symbols.list,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 Symbols.list
--- lib/libcrypto/Symbols.list  21 Dec 2016 15:49:29 -  1.1
+++ lib/libcrypto/Symbols.list  2 Jan 2017 15:17:02 -
@@ -2805,6 +2805,8 @@ X509_VERIFY_PARAM_inherit
 X509_VERIFY_PARAM_lookup
 X509_VERIFY_PARAM_new
 X509_VERIFY_PARAM_set1
+X509_VERIFY_PARAM_set1_email
+X509_VERIFY_PARAM_set1_ip
 X509_VERIFY_PARAM_set1_name
 X509_VERIFY_PARAM_set1_policies
 X509_VERIFY_PARAM_set_depth


-- 
Reality is just a convenient measure of complexity.
-- Alvy Ray Smith