diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-16 00:24:43 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-09-16 22:17:39 +0100 |
commit | 7aef39a72a2d3a7a2b0e222137a45e1b1406668d (patch) | |
tree | d661ce23600131e13331e3dfc87a46e8051fa989 /crypto/x509/x_all.c | |
parent | 2869e79f421bb8d350500cddfd87fdf5d40cd4ba (diff) | |
download | openssl-7aef39a72a2d3a7a2b0e222137a45e1b1406668d.tar.gz |
X509_CRL_INFO embed
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x_all.c')
-rw-r--r-- | crypto/x509/x_all.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/x509/x_all.c b/crypto/x509/x_all.c index 591a95188d..ab258bea54 100644 --- a/crypto/x509/x_all.c +++ b/crypto/x509/x_all.c @@ -128,17 +128,17 @@ int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx) int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md) { - x->crl->enc.modified = 1; - return (ASN1_item_sign(ASN1_ITEM_rptr(X509_CRL_INFO), x->crl->sig_alg, - x->sig_alg, x->signature, x->crl, pkey, md)); + x->crl.enc.modified = 1; + return (ASN1_item_sign(ASN1_ITEM_rptr(X509_CRL_INFO), x->crl.sig_alg, + x->sig_alg, x->signature, &x->crl, pkey, md)); } int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx) { - x->crl->enc.modified = 1; + x->crl.enc.modified = 1; return ASN1_item_sign_ctx(ASN1_ITEM_rptr(X509_CRL_INFO), - x->crl->sig_alg, x->sig_alg, x->signature, - x->crl, ctx); + x->crl.sig_alg, x->sig_alg, x->signature, + &x->crl, ctx); } int X509_CRL_http_nbio(OCSP_REQ_CTX *rctx, X509_CRL **pcrl) |