Patch by Douglas E. Engert:
use c style comments and different header files (for mac os X?). git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3129 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
97f2569f14
commit
1ca622b7f7
|
@ -22,8 +22,8 @@
|
|||
#include "compression.h"
|
||||
|
||||
#include <zlib.h>
|
||||
#include <memory.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "errors.h"
|
||||
|
||||
static int zerr_to_opensc(int err) {
|
||||
|
@ -39,7 +39,7 @@ static int zerr_to_opensc(int err) {
|
|||
case Z_VERSION_ERROR:
|
||||
case Z_DATA_ERROR:
|
||||
case Z_STREAM_ERROR:
|
||||
//case Z_NEED_DICT:
|
||||
/* case Z_NEED_DICT: */
|
||||
default:
|
||||
return SC_ERROR_INTERNAL;
|
||||
}
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#include <opensc/types.h>
|
||||
#include <opensc/log.h>
|
||||
#include <opensc/pkcs15.h>
|
||||
#include <memory.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/x509.h>
|
||||
|
|
Loading…
Reference in New Issue