Latest update.
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#ifndef HEADER_AFALG_H
|
||||
# define HEADER_AFALG_H
|
||||
#ifndef OSSL_ENGINES_E_AFALG_H
|
||||
# define OSSL_ENGINES_E_AFALG_H
|
||||
|
||||
# if defined(__GNUC__) && __GNUC__ >= 4 && \
|
||||
(!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L)
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#ifndef HEADER_AFALGERR_H
|
||||
# define HEADER_AFALGERR_H
|
||||
#ifndef OSSL_ENGINES_E_AFALG_ERR_H
|
||||
# define OSSL_ENGINES_E_AFALG_ERR_H
|
||||
|
||||
# include <openssl/opensslconf.h>
|
||||
# include <openssl/symhacks.h>
|
||||
|
||||
+4
-3
@@ -1301,13 +1301,14 @@ static void capi_dump_prov_info(CAPI_CTX *ctx, BIO *out,
|
||||
CRYPT_KEY_PROV_INFO *pinfo)
|
||||
{
|
||||
char *provname = NULL, *contname = NULL;
|
||||
if (!pinfo) {
|
||||
|
||||
if (pinfo == NULL) {
|
||||
BIO_printf(out, " No Private Key\n");
|
||||
return;
|
||||
}
|
||||
provname = wide_to_asc(pinfo->pwszProvName);
|
||||
contname = wide_to_asc(pinfo->pwszContainerName);
|
||||
if (!provname || !contname)
|
||||
if (provname == NULL || contname == NULL)
|
||||
goto err;
|
||||
|
||||
BIO_printf(out, " Private Key Info:\n");
|
||||
@@ -1777,7 +1778,7 @@ static int capi_load_ssl_client_cert(ENGINE *e, SSL *ssl,
|
||||
|
||||
sk_X509_free(certs);
|
||||
|
||||
if (!*pcert)
|
||||
if (*pcert == NULL)
|
||||
return 0;
|
||||
|
||||
/* Setup key for selected certificate */
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#ifndef HEADER_CAPIERR_H
|
||||
# define HEADER_CAPIERR_H
|
||||
#ifndef OSSL_ENGINES_E_CAPI_ERR_H
|
||||
# define OSSL_ENGINES_E_CAPI_ERR_H
|
||||
|
||||
# include <openssl/opensslconf.h>
|
||||
# include <openssl/symhacks.h>
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#ifndef HEADER_DASYNCERR_H
|
||||
# define HEADER_DASYNCERR_H
|
||||
#ifndef OSSL_ENGINES_E_DASYNC_ERR_H
|
||||
# define OSSL_ENGINES_E_DASYNC_ERR_H
|
||||
|
||||
# include <openssl/opensslconf.h>
|
||||
# include <openssl/symhacks.h>
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#ifndef HEADER_OSSLTESTERR_H
|
||||
# define HEADER_OSSLTESTERR_H
|
||||
#ifndef OSSL_ENGINES_E_OSSLTEST_ERR_H
|
||||
# define OSSL_ENGINES_E_OSSLTEST_ERR_H
|
||||
|
||||
# include <openssl/opensslconf.h>
|
||||
# include <openssl/symhacks.h>
|
||||
|
||||
Reference in New Issue
Block a user