diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/crl.c | 4 | ||||
-rw-r--r-- | apps/s_server.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/crl.c b/apps/crl.c index a3ecad9905..3e30bdc59c 100644 --- a/apps/crl.c +++ b/apps/crl.c @@ -201,8 +201,8 @@ int crl_main(int argc, char **argv) goto end; } - xobj = X509_STORE_get_X509_by_subject(ctx, X509_LU_X509, - X509_CRL_get_issuer(x)); + xobj = X509_STORE_CTX_get_obj_by_subject(ctx, X509_LU_X509, + X509_CRL_get_issuer(x)); if (xobj == NULL) { BIO_printf(bio_err, "Error getting CRL issuer certificate\n"); goto end; diff --git a/apps/s_server.c b/apps/s_server.c index 007078227f..3e1e1ae686 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -576,8 +576,8 @@ static int cert_status_cb(SSL *s, void *arg) SSL_CTX_get_cert_store(SSL_get_SSL_CTX(s)), NULL, NULL)) goto err; - obj = X509_STORE_get_X509_by_subject(inctx, X509_LU_X509, - X509_get_issuer_name(x)); + obj = X509_STORE_CTX_get_obj_by_subject(inctx, X509_LU_X509, + X509_get_issuer_name(x)); if (obj == NULL) { BIO_puts(bio_err, "cert_status: Can't retrieve issuer certificate.\n"); goto done; |