[openssl.org #1819] Calls to OBJ_txt2nid for a non-registered objects adds bogus first num too large errors from a2d_ASN1_OBJECT

2009-01-13 Thread Mattias Ellert via RT
This is a resubmission of the redhat bugzilla report https://bugzilla.redhat.com/show_bug.cgi?id=479767 to upstream developers. Description of problem: Calls to OBJ_txt2nid for a non-registered objects adds bogus first num too large errors from a2d_ASN1_OBJECT. Version-Release number of

[openssl.org #2123] Buggy openssl header causes compilation errors

2009-12-03 Thread Mattias Ellert via RT
Created from downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=543634 Description of problem: The openssl/asn1.h header file is buggy. For a C program this causes compiler warnings. For a C++ program this causes compiler errors, because C++ is a strongly typed language.

[openssl.org #2278] Incomplete fix for type-checking/casting issue

2010-05-27 Thread Mattias Ellert via RT
The following commit fixes an type checking/casting issue in the SKM_ASN1_SET_OF_i2d macro http://cvs.openssl.org/filediff?f=openssl/crypto/stack/safestack.hv1=1.72.2.5v2=1.72.2.6 However, the SKM_ASN1_SET_OF_d2i needs a similar fix too: $ diff -u openssl/safestack.h.orig openssl/safestack.h

[openssl.org #2336] SKM_ASN1_SET_OF_d2i macro is broken

2010-09-13 Thread Mattias Ellert via RT
Hi! The attached test file does not compile: $ gcc -o test.o -c test.c test.c: In function 'd2i_X': test.c:28: warning: pointer type mismatch in conditional expression The problem can be tracked down to the SKM_ASN1_SET_OF_d2i in safestack.h. If the macro is changed as in the attached patch the

Re: [openssl.org #2336] AutoReply: SKM_ASN1_SET_OF_d2i macro is broken

2010-12-08 Thread Mattias Ellert via RT
This issue is fixed in 1.0.0c: http://cvs.openssl.org/filediff?f=openssl/crypto/stack/safestack.hv1=1.72.2.9v2=1.72.2.10 smime.p7s Description: S/MIME cryptographic signature

Re: [openssl-dev] [openssl.org #4602] Missing accessors

2016-07-22 Thread Mattias Ellert via RT
tor 2016-07-21 klockan 09:51 + skrev Richard Levitte via RT: > On Thu Jul 21 08:18:30 2016, mattias.ell...@physics.uu.se wrote: > > > > ons 2016-07-20 klockan 15:14 + skrev Richard Levitte via RT: > > > > > > On Mon Jul 11 11:34:35 2016, mattias.ell...@physics.uu.se wrote: > > > > > > >

Re: [openssl-dev] [openssl.org #4602] Missing accessors

2016-07-21 Thread Mattias Ellert via RT
ons 2016-07-20 klockan 15:14 + skrev Richard Levitte via RT: > On Mon Jul 11 11:34:35 2016, mattias.ell...@physics.uu.se wrote: > > > > I guess having a more restrictive accessor that only sets the > > EXFLAG_PROXY bit could work. I suggested the more general solution of > > having set/clear

Re: [openssl-dev] [openssl.org #4602] Missing accessors

2016-07-11 Thread Mattias Ellert via RT
fre 2016-07-08 klockan 00:42 +0200 skrev Kurt Roeckx: > On Thu, Jul 07, 2016 at 09:40:24PM +, Richard Levitte via RT > wrote: > > On Sat Jul 02 10:59:38 2016, k...@roeckx.be wrote: > > > /* Add to include/openssl/x509v3.h */ > > > > > > void X509_set_extension_flags(X509 *x, uint32_t

Re: [openssl-dev] [openssl.org #4602] Missing accessors

2016-07-11 Thread Mattias Ellert via RT
fre 2016-07-08 klockan 06:08 + skrev Richard Levitte via RT: > On Thu Jul 07 21:29:09 2016, levitte wrote: > > On Sat Jul 02 10:59:38 2016, k...@roeckx.be wrote: > > > /* Add to include/openssl/x509_vfy.h : */ > > > > > > typedef int (*X509_STORE_CTX_get_issuer)(X509 **issuer, > > >