<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>122288</bug_id>
          
          <creation_ts>2006-02-09 11:22 0000</creation_ts>
          <short_desc>qca-tls-1.0-r2 fails with openssl-0.9.8</short_desc>
          <delta_ts>2006-09-14 13:20:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/security/qca-tls/patches/patch-ab</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>portage@bigmichi1.dyndns.org</reporter>
          <assigned_to>humpback@gentoo.org</assigned_to>
          <cc>crypto@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>portage@bigmichi1.dyndns.org</who>
            <bug_when>2006-02-09 11:22:49 0000</bug_when>
            <thetext>emerge fails with:
g++ -c -pipe -Wall -W -march=pentium3 -pipe -Os -D_REENTRANT -fPIC  -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -march=pentium3 -pipe -Os -fomit-frame-pointer -I/usr/qt/3/mkspecs/linux-g++ -I/var/tmp/portage/qca-tls-1.0-r2/work/qca-tls-1.0 -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp
qca-tls.cpp: In member function &apos;virtual bool RSAKeyContext::createFromDER(const char*, unsigned int)&apos;:
qca-tls.cpp:457: error: invalid conversion from &apos;unsigned char**&apos; to &apos;const unsigned char**&apos;
qca-tls.cpp:457: error:   initializing argument 2 of &apos;RSA* d2i_RSA_PUBKEY(RSA**, const unsigned char**, long int)&apos;
qca-tls.cpp: In member function &apos;virtual bool CertContext::createFromDER(const char*, unsigned int)&apos;:
qca-tls.cpp:802: error: invalid conversion from &apos;unsigned char**&apos; to &apos;const unsigned char**&apos;
qca-tls.cpp:802: error:   initializing argument 2 of &apos;X509* d2i_X509(X509**, const unsigned char**, long int)&apos;
make: *** [qca-tls.o] Fehler 1

!!! ERROR: app-crypt/qca-tls-1.0-r2 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>portage@bigmichi1.dyndns.org</who>
            <bug_when>2006-02-09 11:24:33 0000</bug_when>
            <thetext>Created an attachment (id=79347)
opensslfix.patch

fix for building with openssl-0.9.8, taken from netbsd</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>portage@bigmichi1.dyndns.org</who>
            <bug_when>2006-02-13 12:25:31 0000</bug_when>
            <thetext>fixed with 1.0-r3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hm@student.ethz.ch</who>
            <bug_when>2006-09-06 07:29:26 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; fixed with 1.0-r3

1.0-r3 should be stable then, as openssl-0.9.8 is. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ich@az2000.de</who>
            <bug_when>2006-09-14 13:20:33 0000</bug_when>
            <thetext>Exactly same problem here; ...-r3 works perfectly, please mark it as stable.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>79347</attachid>
            <date>2006-02-09 11:24 0000</date>
            <desc>opensslfix.patch</desc>
            <filename>opensslfix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHFjYS10bHMuY3BwLm9yaWcJMjAwNS0xMi0yNyAyMjoyMjozMi4wMDAwMDAwMDAgKzAwMDAK
KysrIHFjYS10bHMuY3BwCkBAIC00NTQsNyArNDU0LDExIEBAIHB1YmxpYzoKIAkJCWlmKCFyKSB7
CiAJCQkJLy8gdHJ5IHRoaXMgb3RoZXIgcHVibGljIGZ1bmN0aW9uLCBmb3Igd2hhdGV2ZXIgcmVh
c29uCiAJCQkJcCA9ICh2b2lkICopaW47CisjaWYgT1BFTlNTTF9WRVJTSU9OX05VTUJFUiA+PSAw
eDAwOTA4MDAwCisJCQkJciA9IGQyaV9SU0FfUFVCS0VZKE5VTEwsIChjb25zdCB1bnNpZ25lZCBj
aGFyICoqKSZwLCBsZW4pOworI2Vsc2UKIAkJCQlyID0gZDJpX1JTQV9QVUJLRVkoTlVMTCwgKHVu
c2lnbmVkIGNoYXIgKiopJnAsIGxlbik7CisjZW5kaWYKIAkJCX0KIAkJCWlmKHIpIHsKIAkJCQlp
ZihwdWIpIHsKQEAgLTc5OCw3ICs4MDIsMTEgQEAgcHVibGljOgogCiAJYm9vbCBjcmVhdGVGcm9t
REVSKGNvbnN0IGNoYXIgKmluLCB1bnNpZ25lZCBpbnQgbGVuKQogCXsKKyNpZiBPUEVOU1NMX1ZF
UlNJT05fTlVNQkVSID49IDB4MDA5MDgwMDAKKwkJY29uc3QgdW5zaWduZWQgY2hhciAqcCA9IChj
b25zdCB1bnNpZ25lZCBjaGFyICopaW47CisjZWxzZQogCQl1bnNpZ25lZCBjaGFyICpwID0gKHVu
c2lnbmVkIGNoYXIgKilpbjsKKyNlbmRpZgogCQlYNTA5ICp0ID0gZDJpX1g1MDkoTlVMTCwgJnAs
IGxlbik7CiAJCWlmKCF0KQogCQkJcmV0dXJuIGZhbHNlOwo=
</data>        

          </attachment>
    </bug>

</bugzilla>