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
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.
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
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
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
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:
> > > >
> > >
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
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
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,
> > >