Hello!

1. I believe there are a couple of bugs in cms.h -
diff -ur openssl/crypto/cms/cms.h openssl-1.1.0/crypto/cms/cms.h
--- openssl/crypto/cms/cms.h 2010-04-07 20:22:01.185601800 +0600
+++ openssl-1.1.0/crypto/cms/cms.h 2010-04-24 12:39:05.350609800
+0600
@@ -56,9 +56,9 @@
 #define HEADER_CMS_H

 #if defined(_WIN64)
- define ssize_t __int64
+ #define ssize_t __int64
 #else
- define ssize_t long
+ #define ssize_t long
 #endif

 #include <openssl/x509.h>
diff -ur openssl/inc32/openssl/cms.h openssl-1.1.0/inc32/openssl/cms.h
--- openssl/inc32/openssl/cms.h 2010-04-07 20:28:54.606601800 +0600
+++ openssl-1.1.0/inc32/openssl/cms.h 2010-04-24 12:39:26.058680400
+0600
@@ -56,9 +56,9 @@
 #define HEADER_CMS_H

 #if defined(_WIN64)
- define ssize_t __int64
+ #define ssize_t __int64
 #else
- define ssize_t long
+ #define ssize_t long
 #endif

 #include <openssl/x509.h>

2. Fixed that, in the stage of linking I got these errors -
   Creating library out32dll\libeay32.lib and object
out32dll\libeay32.exp
pmeth_lib.obj : error LNK2001: unresolved external symbol
_cmac_pkey_meth
ameth_lib.obj : error LNK2001: unresolved external symbol
_cmac_asn1_meth
out32dll\libeay32.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\link.EXE"' : return code '0x460'

I believe cm_ameth.c and cm_pmeth.c should be added to builds to fix this.

P.S. I sent this message before, but I believe it did not arrive.

--
Ruslan Gazizov.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to