Skip to content

Commit 123df4d

Browse files
author
易斌
committed
Update to openssl 1.0.2c
1 parent 490e069 commit 123df4d

26 files changed

+104
-28
lines changed

LICENSE.txt renamed to LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
---------------
1313

1414
/* ====================================================================
15-
* Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
15+
* Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
1616
*
1717
* Redistribution and use in source and binary forms, with or without
1818
* modification, are permitted provided that the following conditions

OpenSSL-Static.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OpenSSL-Static"
3-
s.version = "1.0.2.a"
3+
s.version = "1.0.2.c"
44
s.summary = "OpenSSL for iOS and OS X"
55
s.description = "OpenSSL is an SSL/TLS and Crypto toolkit. Deprecated in Mac OS and gone in iOS, this spec gives your project non-deprecated OpenSSL support. Supports OSX and iOS including Simulator (armv7, armv7s, arm64, i386, x86_64)."
66
s.homepage = "https://github.com/bruceyibin/OpenSSL"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Current version contains binaries build with SDK iOS 8.0 (target 5.1.1), and SDK
1818
**Installation**
1919

2020
````
21-
pod 'OpenSSL-Static', '1.0.2.a'
21+
pod 'OpenSSL-Static', '1.0.2.c'
2222
````
2323

2424
Or always latest version

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -x
77

88
# Setup paths to stuff we need
99

10-
OPENSSL_VERSION="1.0.2a"
10+
OPENSSL_VERSION="1.0.2c"
1111

1212
DEVELOPER=$(xcode-select --print-path)
1313

include-ios/openssl/bn.h

+5
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ int RAND_pseudo_bytes(unsigned char *buf, int num);
779779
* wouldn't be constructed with top!=dmax. */ \
780780
BN_ULONG *_not_const; \
781781
memcpy(&_not_const, &_bnum1->d, sizeof(BN_ULONG*)); \
782+
/* Debug only - safe to ignore error return */ \
782783
RAND_pseudo_bytes(&_tmp_char, 1); \
783784
memset((unsigned char *)(_not_const + _bnum1->top), _tmp_char, \
784785
(_bnum1->dmax - _bnum1->top) * sizeof(BN_ULONG)); \
@@ -892,6 +893,7 @@ void ERR_load_BN_strings(void);
892893
# define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR 135
893894
# define BN_F_BN_GF2M_MOD_SQR 136
894895
# define BN_F_BN_GF2M_MOD_SQRT 137
896+
# define BN_F_BN_LSHIFT 145
895897
# define BN_F_BN_MOD_EXP2_MONT 118
896898
# define BN_F_BN_MOD_EXP_MONT 109
897899
# define BN_F_BN_MOD_EXP_MONT_CONSTTIME 124
@@ -907,19 +909,22 @@ void ERR_load_BN_strings(void);
907909
# define BN_F_BN_NEW 113
908910
# define BN_F_BN_RAND 114
909911
# define BN_F_BN_RAND_RANGE 122
912+
# define BN_F_BN_RSHIFT 146
910913
# define BN_F_BN_USUB 115
911914

912915
/* Reason codes. */
913916
# define BN_R_ARG2_LT_ARG3 100
914917
# define BN_R_BAD_RECIPROCAL 101
915918
# define BN_R_BIGNUM_TOO_LONG 114
919+
# define BN_R_BITS_TOO_SMALL 118
916920
# define BN_R_CALLED_WITH_EVEN_MODULUS 102
917921
# define BN_R_DIV_BY_ZERO 103
918922
# define BN_R_ENCODING_ERROR 104
919923
# define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
920924
# define BN_R_INPUT_NOT_REDUCED 110
921925
# define BN_R_INVALID_LENGTH 106
922926
# define BN_R_INVALID_RANGE 115
927+
# define BN_R_INVALID_SHIFT 119
923928
# define BN_R_NOT_A_SQUARE 111
924929
# define BN_R_NOT_INITIALIZED 107
925930
# define BN_R_NO_INVERSE 108

include-ios/openssl/e_os2.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ extern "C" {
109109
# undef OPENSSL_SYS_UNIX
110110
# define OPENSSL_SYS_WIN32
111111
# endif
112+
# if defined(_WIN64) || defined(OPENSSL_SYSNAME_WIN64)
113+
# undef OPENSSL_SYS_UNIX
114+
# if !defined(OPENSSL_SYS_WIN64)
115+
# define OPENSSL_SYS_WIN64
116+
# endif
117+
# endif
112118
# if defined(OPENSSL_SYSNAME_WINNT)
113119
# undef OPENSSL_SYS_UNIX
114120
# define OPENSSL_SYS_WINNT
@@ -121,7 +127,7 @@ extern "C" {
121127
# endif
122128

123129
/* Anything that tries to look like Microsoft is "Windows" */
124-
# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINNT) || defined(OPENSSL_SYS_WINCE)
130+
# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN64) || defined(OPENSSL_SYS_WINNT) || defined(OPENSSL_SYS_WINCE)
125131
# undef OPENSSL_SYS_UNIX
126132
# define OPENSSL_SYS_WINDOWS
127133
# ifndef OPENSSL_SYS_MSDOS

include-ios/openssl/ec.h

+6-5
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,12 @@ void ERR_load_EC_strings(void);
10971097
# define EC_F_ECPARAMETERS_PRINT_FP 148
10981098
# define EC_F_ECPKPARAMETERS_PRINT 149
10991099
# define EC_F_ECPKPARAMETERS_PRINT_FP 150
1100+
# define EC_F_ECP_NISTZ256_GET_AFFINE 240
1101+
# define EC_F_ECP_NISTZ256_MULT_PRECOMPUTE 243
1102+
# define EC_F_ECP_NISTZ256_POINTS_MUL 241
1103+
# define EC_F_ECP_NISTZ256_PRE_COMP_NEW 244
1104+
# define EC_F_ECP_NISTZ256_SET_WORDS 245
1105+
# define EC_F_ECP_NISTZ256_WINDOWED_MUL 242
11001106
# define EC_F_ECP_NIST_MOD_192 203
11011107
# define EC_F_ECP_NIST_MOD_224 204
11021108
# define EC_F_ECP_NIST_MOD_256 205
@@ -1208,11 +1214,6 @@ void ERR_load_EC_strings(void);
12081214
# define EC_F_NISTP224_PRE_COMP_NEW 227
12091215
# define EC_F_NISTP256_PRE_COMP_NEW 236
12101216
# define EC_F_NISTP521_PRE_COMP_NEW 237
1211-
# define EC_F_ECP_NISTZ256_GET_AFFINE 240
1212-
# define EC_F_ECP_NISTZ256_POINTS_MUL 241
1213-
# define EC_F_ECP_NISTZ256_WINDOWED_MUL 242
1214-
# define EC_F_ECP_NISTZ256_MULT_PRECOMPUTE 243
1215-
# define EC_F_ECP_NISTZ256_PRE_COMP_NEW 244
12161217
# define EC_F_O2I_ECPUBLICKEY 152
12171218
# define EC_F_OLD_EC_PRIV_DECODE 222
12181219
# define EC_F_PKEY_EC_CTRL 197

include-ios/openssl/evp.h

+16-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
# define EVP_PKS_RSA 0x0100
104104
# define EVP_PKS_DSA 0x0200
105105
# define EVP_PKS_EC 0x0400
106-
# define EVP_PKT_EXP 0x1000 /* <= 512 bit key */
107106

108107
# define EVP_PKEY_NONE NID_undef
109108
# define EVP_PKEY_RSA NID_rsaEncryption
@@ -424,6 +423,9 @@ struct evp_cipher_st {
424423
# define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b
425424
# define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c
426425

426+
/* RFC 5246 defines additional data to be 13 bytes in length */
427+
# define EVP_AEAD_TLS1_AAD_LEN 13
428+
427429
typedef struct {
428430
unsigned char *out;
429431
const unsigned char *inp;
@@ -1121,6 +1123,19 @@ void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
11211123
void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
11221124
int (*pkey_ctrl) (EVP_PKEY *pkey, int op,
11231125
long arg1, void *arg2));
1126+
void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth,
1127+
int (*item_verify) (EVP_MD_CTX *ctx,
1128+
const ASN1_ITEM *it,
1129+
void *asn,
1130+
X509_ALGOR *a,
1131+
ASN1_BIT_STRING *sig,
1132+
EVP_PKEY *pkey),
1133+
int (*item_sign) (EVP_MD_CTX *ctx,
1134+
const ASN1_ITEM *it,
1135+
void *asn,
1136+
X509_ALGOR *alg1,
1137+
X509_ALGOR *alg2,
1138+
ASN1_BIT_STRING *sig));
11241139

11251140
# define EVP_PKEY_OP_UNDEFINED 0
11261141
# define EVP_PKEY_OP_PARAMGEN (1<<1)

include-ios/openssl/opensslconf.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ extern "C" {
110110

111111
#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
112112
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
113-
#define ENGINESDIR "/tmp/openssl-1.0.2a-i386/lib/engines"
114-
#define OPENSSLDIR "/tmp/openssl-1.0.2a-i386"
113+
#define ENGINESDIR "/tmp/openssl-1.0.2c-i386/lib/engines"
114+
#define OPENSSLDIR "/tmp/openssl-1.0.2c-i386"
115115
#endif
116116
#endif
117117

include-ios/openssl/opensslv.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ extern "C" {
3030
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
3131
* major minor fix final patch/beta)
3232
*/
33-
# define OPENSSL_VERSION_NUMBER 0x1000201fL
33+
# define OPENSSL_VERSION_NUMBER 0x1000203fL
3434
# ifdef OPENSSL_FIPS
35-
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2a-fips 19 Mar 2015"
35+
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2c-fips 12 Jun 2015"
3636
# else
37-
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2a 19 Mar 2015"
37+
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2c 12 Jun 2015"
3838
# endif
3939
# define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
4040

include-ios/openssl/ssl.h

+5
Original file line numberDiff line numberDiff line change
@@ -1727,6 +1727,7 @@ extern "C" {
17271727
# define SSL_ST_BEFORE 0x4000
17281728
# define SSL_ST_OK 0x03
17291729
# define SSL_ST_RENEGOTIATE (0x04|SSL_ST_INIT)
1730+
# define SSL_ST_ERR 0x05
17301731

17311732
# define SSL_CB_LOOP 0x01
17321733
# define SSL_CB_EXIT 0x02
@@ -2640,6 +2641,7 @@ void ERR_load_SSL_strings(void);
26402641
# define SSL_F_GET_CLIENT_MASTER_KEY 107
26412642
# define SSL_F_GET_SERVER_FINISHED 108
26422643
# define SSL_F_GET_SERVER_HELLO 109
2644+
# define SSL_F_GET_SERVER_STATIC_DH_KEY 340
26432645
# define SSL_F_GET_SERVER_VERIFY 110
26442646
# define SSL_F_I2D_SSL_SESSION 111
26452647
# define SSL_F_READ_N 112
@@ -2670,6 +2672,7 @@ void ERR_load_SSL_strings(void);
26702672
# define SSL_F_SSL3_CHANGE_CIPHER_STATE 129
26712673
# define SSL_F_SSL3_CHECK_CERT_AND_ALGORITHM 130
26722674
# define SSL_F_SSL3_CHECK_CLIENT_HELLO 304
2675+
# define SSL_F_SSL3_CHECK_FINISHED 339
26732676
# define SSL_F_SSL3_CLIENT_HELLO 131
26742677
# define SSL_F_SSL3_CONNECT 132
26752678
# define SSL_F_SSL3_CTRL 213
@@ -2784,6 +2787,7 @@ void ERR_load_SSL_strings(void);
27842787
# define SSL_F_SSL_RSA_PUBLIC_ENCRYPT 188
27852788
# define SSL_F_SSL_SCAN_CLIENTHELLO_TLSEXT 320
27862789
# define SSL_F_SSL_SCAN_SERVERHELLO_TLSEXT 321
2790+
# define SSL_F_SSL_SESSION_DUP 348
27872791
# define SSL_F_SSL_SESSION_NEW 189
27882792
# define SSL_F_SSL_SESSION_PRINT_FP 190
27892793
# define SSL_F_SSL_SESSION_SET1_ID_CONTEXT 312
@@ -2904,6 +2908,7 @@ void ERR_load_SSL_strings(void);
29042908
# define SSL_R_DATA_LENGTH_TOO_LONG 146
29052909
# define SSL_R_DECRYPTION_FAILED 147
29062910
# define SSL_R_DECRYPTION_FAILED_OR_BAD_RECORD_MAC 281
2911+
# define SSL_R_DH_KEY_TOO_SMALL 372
29072912
# define SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG 148
29082913
# define SSL_R_DIGEST_CHECK_FAILED 149
29092914
# define SSL_R_DTLS_MESSAGE_TOO_BIG 334

include-ios/openssl/x509_vfy.h

+6
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,12 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
432432

433433
/* Allow partial chains if at least one certificate is in trusted store */
434434
# define X509_V_FLAG_PARTIAL_CHAIN 0x80000
435+
/*
436+
* If the initial chain is not trusted, do not attempt to build an alternative
437+
* chain. Alternate chain checking was introduced in 1.0.2b. Setting this flag
438+
* will force the behaviour to match that of previous versions.
439+
*/
440+
# define X509_V_FLAG_NO_ALT_CHAINS 0x100000
435441

436442
# define X509_VP_FLAG_DEFAULT 0x1
437443
# define X509_VP_FLAG_OVERWRITE 0x2

include-osx/openssl/bn.h

+5
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ int RAND_pseudo_bytes(unsigned char *buf, int num);
779779
* wouldn't be constructed with top!=dmax. */ \
780780
BN_ULONG *_not_const; \
781781
memcpy(&_not_const, &_bnum1->d, sizeof(BN_ULONG*)); \
782+
/* Debug only - safe to ignore error return */ \
782783
RAND_pseudo_bytes(&_tmp_char, 1); \
783784
memset((unsigned char *)(_not_const + _bnum1->top), _tmp_char, \
784785
(_bnum1->dmax - _bnum1->top) * sizeof(BN_ULONG)); \
@@ -892,6 +893,7 @@ void ERR_load_BN_strings(void);
892893
# define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR 135
893894
# define BN_F_BN_GF2M_MOD_SQR 136
894895
# define BN_F_BN_GF2M_MOD_SQRT 137
896+
# define BN_F_BN_LSHIFT 145
895897
# define BN_F_BN_MOD_EXP2_MONT 118
896898
# define BN_F_BN_MOD_EXP_MONT 109
897899
# define BN_F_BN_MOD_EXP_MONT_CONSTTIME 124
@@ -907,19 +909,22 @@ void ERR_load_BN_strings(void);
907909
# define BN_F_BN_NEW 113
908910
# define BN_F_BN_RAND 114
909911
# define BN_F_BN_RAND_RANGE 122
912+
# define BN_F_BN_RSHIFT 146
910913
# define BN_F_BN_USUB 115
911914

912915
/* Reason codes. */
913916
# define BN_R_ARG2_LT_ARG3 100
914917
# define BN_R_BAD_RECIPROCAL 101
915918
# define BN_R_BIGNUM_TOO_LONG 114
919+
# define BN_R_BITS_TOO_SMALL 118
916920
# define BN_R_CALLED_WITH_EVEN_MODULUS 102
917921
# define BN_R_DIV_BY_ZERO 103
918922
# define BN_R_ENCODING_ERROR 104
919923
# define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
920924
# define BN_R_INPUT_NOT_REDUCED 110
921925
# define BN_R_INVALID_LENGTH 106
922926
# define BN_R_INVALID_RANGE 115
927+
# define BN_R_INVALID_SHIFT 119
923928
# define BN_R_NOT_A_SQUARE 111
924929
# define BN_R_NOT_INITIALIZED 107
925930
# define BN_R_NO_INVERSE 108

include-osx/openssl/e_os2.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ extern "C" {
109109
# undef OPENSSL_SYS_UNIX
110110
# define OPENSSL_SYS_WIN32
111111
# endif
112+
# if defined(_WIN64) || defined(OPENSSL_SYSNAME_WIN64)
113+
# undef OPENSSL_SYS_UNIX
114+
# if !defined(OPENSSL_SYS_WIN64)
115+
# define OPENSSL_SYS_WIN64
116+
# endif
117+
# endif
112118
# if defined(OPENSSL_SYSNAME_WINNT)
113119
# undef OPENSSL_SYS_UNIX
114120
# define OPENSSL_SYS_WINNT
@@ -121,7 +127,7 @@ extern "C" {
121127
# endif
122128

123129
/* Anything that tries to look like Microsoft is "Windows" */
124-
# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINNT) || defined(OPENSSL_SYS_WINCE)
130+
# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WIN64) || defined(OPENSSL_SYS_WINNT) || defined(OPENSSL_SYS_WINCE)
125131
# undef OPENSSL_SYS_UNIX
126132
# define OPENSSL_SYS_WINDOWS
127133
# ifndef OPENSSL_SYS_MSDOS

include-osx/openssl/ec.h

+6-5
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,12 @@ void ERR_load_EC_strings(void);
10971097
# define EC_F_ECPARAMETERS_PRINT_FP 148
10981098
# define EC_F_ECPKPARAMETERS_PRINT 149
10991099
# define EC_F_ECPKPARAMETERS_PRINT_FP 150
1100+
# define EC_F_ECP_NISTZ256_GET_AFFINE 240
1101+
# define EC_F_ECP_NISTZ256_MULT_PRECOMPUTE 243
1102+
# define EC_F_ECP_NISTZ256_POINTS_MUL 241
1103+
# define EC_F_ECP_NISTZ256_PRE_COMP_NEW 244
1104+
# define EC_F_ECP_NISTZ256_SET_WORDS 245
1105+
# define EC_F_ECP_NISTZ256_WINDOWED_MUL 242
11001106
# define EC_F_ECP_NIST_MOD_192 203
11011107
# define EC_F_ECP_NIST_MOD_224 204
11021108
# define EC_F_ECP_NIST_MOD_256 205
@@ -1208,11 +1214,6 @@ void ERR_load_EC_strings(void);
12081214
# define EC_F_NISTP224_PRE_COMP_NEW 227
12091215
# define EC_F_NISTP256_PRE_COMP_NEW 236
12101216
# define EC_F_NISTP521_PRE_COMP_NEW 237
1211-
# define EC_F_ECP_NISTZ256_GET_AFFINE 240
1212-
# define EC_F_ECP_NISTZ256_POINTS_MUL 241
1213-
# define EC_F_ECP_NISTZ256_WINDOWED_MUL 242
1214-
# define EC_F_ECP_NISTZ256_MULT_PRECOMPUTE 243
1215-
# define EC_F_ECP_NISTZ256_PRE_COMP_NEW 244
12161217
# define EC_F_O2I_ECPUBLICKEY 152
12171218
# define EC_F_OLD_EC_PRIV_DECODE 222
12181219
# define EC_F_PKEY_EC_CTRL 197

include-osx/openssl/evp.h

+16-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
# define EVP_PKS_RSA 0x0100
104104
# define EVP_PKS_DSA 0x0200
105105
# define EVP_PKS_EC 0x0400
106-
# define EVP_PKT_EXP 0x1000 /* <= 512 bit key */
107106

108107
# define EVP_PKEY_NONE NID_undef
109108
# define EVP_PKEY_RSA NID_rsaEncryption
@@ -424,6 +423,9 @@ struct evp_cipher_st {
424423
# define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b
425424
# define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c
426425

426+
/* RFC 5246 defines additional data to be 13 bytes in length */
427+
# define EVP_AEAD_TLS1_AAD_LEN 13
428+
427429
typedef struct {
428430
unsigned char *out;
429431
const unsigned char *inp;
@@ -1121,6 +1123,19 @@ void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
11211123
void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
11221124
int (*pkey_ctrl) (EVP_PKEY *pkey, int op,
11231125
long arg1, void *arg2));
1126+
void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth,
1127+
int (*item_verify) (EVP_MD_CTX *ctx,
1128+
const ASN1_ITEM *it,
1129+
void *asn,
1130+
X509_ALGOR *a,
1131+
ASN1_BIT_STRING *sig,
1132+
EVP_PKEY *pkey),
1133+
int (*item_sign) (EVP_MD_CTX *ctx,
1134+
const ASN1_ITEM *it,
1135+
void *asn,
1136+
X509_ALGOR *alg1,
1137+
X509_ALGOR *alg2,
1138+
ASN1_BIT_STRING *sig));
11241139

11251140
# define EVP_PKEY_OP_UNDEFINED 0
11261141
# define EVP_PKEY_OP_PARAMGEN (1<<1)

include-osx/openssl/opensslconf.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ extern "C" {
110110

111111
#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
112112
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
113-
#define ENGINESDIR "/tmp/openssl-1.0.2a-i386/lib/engines"
114-
#define OPENSSLDIR "/tmp/openssl-1.0.2a-i386"
113+
#define ENGINESDIR "/tmp/openssl-1.0.2c-i386/lib/engines"
114+
#define OPENSSLDIR "/tmp/openssl-1.0.2c-i386"
115115
#endif
116116
#endif
117117

include-osx/openssl/opensslv.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ extern "C" {
3030
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
3131
* major minor fix final patch/beta)
3232
*/
33-
# define OPENSSL_VERSION_NUMBER 0x1000201fL
33+
# define OPENSSL_VERSION_NUMBER 0x1000203fL
3434
# ifdef OPENSSL_FIPS
35-
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2a-fips 19 Mar 2015"
35+
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2c-fips 12 Jun 2015"
3636
# else
37-
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2a 19 Mar 2015"
37+
# define OPENSSL_VERSION_TEXT "OpenSSL 1.0.2c 12 Jun 2015"
3838
# endif
3939
# define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT
4040

0 commit comments

Comments
 (0)