Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 2689939

Browse files
Merge pull request #86 from livecode/merge-develop-8.1-16.11.2016
Merge develop 8.1 16.11.2016
2 parents 1851535 + 167ebd4 commit 2689939

92 files changed

Lines changed: 54 additions & 37506 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

libmysql/libmysql.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
{
2121
'library_for_module': 1,
2222
'silence_warnings': 1,
23+
24+
# OpenSSL 1.0.1 API
25+
'openssl_api_compat': '0x10000100L',
2326
},
2427

2528
'dependencies':

libmysql/src/viosslfactories.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ static DH *get_dh512(void)
4040
DH *dh;
4141
if ((dh=DH_new()))
4242
{
43-
dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL);
44-
dh->g=BN_bin2bn(dh512_g,sizeof(dh512_g),NULL);
45-
if (! dh->p || ! dh->g)
43+
BIGNUM* dhp=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL);
44+
BIGNUM* dhg=BN_bin2bn(dh512_g,sizeof(dh512_g),NULL);
45+
if (! dhp || ! dhg)
4646
{
4747
DH_free(dh);
4848
dh=0;
4949
}
50+
DH_set0_pqg(dh,dhp,NULL,dhg);
5051
}
5152
return(dh);
5253
}
@@ -152,10 +153,10 @@ vio_verify_callback(int ok, X509_STORE_CTX *ctx)
152153
if (verify_depth >= depth)
153154
ok= 1;
154155
}
155-
switch (ctx->error)
156+
switch (X509_STORE_CTX_get_error(ctx))
156157
{
157158
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:
158-
X509_NAME_oneline(X509_get_issuer_name(ctx->current_cert), buf, 256);
159+
X509_NAME_oneline(X509_get_issuer_name(X509_STORE_CTX_get_current_cert(ctx)), buf, 256);
159160
DBUG_PRINT("info",("issuer= %s\n", buf));
160161
break;
161162
case X509_V_ERR_CERT_NOT_YET_VALID:

libopenssl/Makefile.revsecurity

Lines changed: 0 additions & 15 deletions
This file was deleted.

libopenssl/ORIGIN

Lines changed: 0 additions & 3 deletions
This file was deleted.

libopenssl/apply_filter.rev

Lines changed: 0 additions & 61 deletions
This file was deleted.

libopenssl/build-libs.bat

Lines changed: 0 additions & 71 deletions
This file was deleted.

libopenssl/build-libs.lnx

Lines changed: 0 additions & 77 deletions
This file was deleted.

libopenssl/build-openssl.and

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)