Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 122288
Collapse All | Expand All

(-)qca-tls.cpp.orig (+8 lines)
Lines 454-460 public: Link Here
454
			if(!r) {
454
			if(!r) {
455
				// try this other public function, for whatever reason
455
				// try this other public function, for whatever reason
456
				p = (void *)in;
456
				p = (void *)in;
457
#if OPENSSL_VERSION_NUMBER >= 0x00908000
458
				r = d2i_RSA_PUBKEY(NULL, (const unsigned char **)&p, len);
459
#else
457
				r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len);
460
				r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len);
461
#endif
458
			}
462
			}
459
			if(r) {
463
			if(r) {
460
				if(pub) {
464
				if(pub) {
Lines 798-804 public: Link Here
798
802
799
	bool createFromDER(const char *in, unsigned int len)
803
	bool createFromDER(const char *in, unsigned int len)
800
	{
804
	{
805
#if OPENSSL_VERSION_NUMBER >= 0x00908000
806
		const unsigned char *p = (const unsigned char *)in;
807
#else
801
		unsigned char *p = (unsigned char *)in;
808
		unsigned char *p = (unsigned char *)in;
809
#endif
802
		X509 *t = d2i_X509(NULL, &p, len);
810
		X509 *t = d2i_X509(NULL, &p, len);
803
		if(!t)
811
		if(!t)
804
			return false;
812
			return false;

Return to bug 122288