Fix errors (jenkins)

This commit is contained in:
Ludovic FLAMENT
2016-05-23 11:11:57 +02:00
parent ed4f67058a
commit 99b5aa587f
7 changed files with 103 additions and 46 deletions

View File

@@ -3668,6 +3668,7 @@ int DupSSL(WOLFSSL* ssl, WOLFSSL* ossl)
if (ret != 0)
return ret;
#ifndef NO_DH
/* Don't copy if (p,g) owned by ctx */
if (ssl->buffers.weOwnDH || ssl->options.side == WOLFSSL_CLIENT_END) {
ret = DupBuffer(&ssl->buffers.serverDH_P,
@@ -3680,6 +3681,7 @@ int DupSSL(WOLFSSL* ssl, WOLFSSL* ossl)
if (ret != 0)
return ret;
}
#endif
#ifdef KEEP_PEER_CERT
ret = DupX509(&ssl->peerCert, &ossl->peerCert);

View File

@@ -88,6 +88,7 @@
#include <wolfssl/wolfcrypt/sha512.h>
#endif
#include <wolfssl/wolfcrypt/bio.h>
#include <time.h>
#endif
#ifdef NO_ASN
@@ -15880,13 +15881,6 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl)
return 0;
}
WOLFSSL_BIO_METHOD* wolfSSL_BIO_s_file(void) {
WOLFSSL_ENTER("wolfSSL_BIO_s_file");
WOLFSSL_STUB("wolfSSL_BIO_s_file");
return NULL;
}
const char * wolf_OBJ_nid2sn(int n) {
(void)n;
WOLFSSL_ENTER("wolf_OBJ_nid2sn");