Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
gtkcard
gtkcard-fix-openssl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtkcard-fix-openssl.patch of Package gtkcard
Index: gtkcard-0.2-svn-r106/src/P11.c =================================================================== --- gtkcard-0.2-svn-r106.orig/src/P11.c +++ gtkcard-0.2-svn-r106/src/P11.c @@ -366,7 +366,7 @@ BOOL readCertInfo(CK_OBJECT_HANDLE ohObj X509 *cert = 0; BIO *mem = BIO_new(BIO_s_mem()); ASN1_INTEGER *integer; - STACK *nlist; + STACK_OF(X509_NAME_ENTRY) *nlist; X509_NAME *name; int len; int j; @@ -418,7 +418,7 @@ BOOL readCertInfo(CK_OBJECT_HANDLE ohObj } name = X509_get_issuer_name(cert); - nlist = (STACK *) name->entries; + nlist = name->entries; X509_NAME_print(mem, name, 0); len = BIO_read(mem, issuerBuf, 256); issuerBuf[len] = '\0'; @@ -1100,7 +1100,7 @@ BOOL P11_displayCert(pCertInfo certInfo, // OpenSSL variables X509 *cert = 0; BIO *mem = BIO_new(BIO_s_mem()); - STACK *nlist; + STACK_OF(X509_NAME_ENTRY) *nlist; ASN1_TIME *time; ASN1_INTEGER *integer; X509_NAME *name; @@ -1148,7 +1148,7 @@ BOOL P11_displayCert(pCertInfo certInfo, DISPLAY_FIXED(string); name = X509_get_subject_name(cert); - nlist = (STACK *) name->entries; + nlist = name->entries; X509_NAME_print(mem, name, 0); len = BIO_read(mem, buffer, 1000); buffer[len] = '\0'; @@ -1156,7 +1156,7 @@ BOOL P11_displayCert(pCertInfo certInfo, DISPLAY_FIXED(string); name = X509_get_issuer_name(cert); - nlist = (STACK *) name->entries; + nlist = name->entries; X509_NAME_print(mem, name, 0); len = BIO_read(mem, buffer, 1000); buffer[len] = '\0'; @@ -1259,7 +1259,7 @@ BOOL localImportCert(X509 * cert, gchar CK_OBJECT_CLASS certificateClass = CKO_CERTIFICATE; int certSize, subjectSize, issuerSize; CK_ULONG certType = CKC_X_509; - STACK *nlist; + STACK_OF(X509_NAME_ENTRY) *nlist; X509_NAME *name; int len; CK_BYTE_PTR issuer; @@ -1305,7 +1305,7 @@ BOOL localImportCert(X509 * cert, gchar } name = X509_get_subject_name(cert); - nlist = (STACK *) name->entries; + nlist = name->entries; X509_NAME_print(mem, name, 0); len = BIO_read(mem, subjectBuf, 256); subjectBuf[len] = '\0';
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor